Math student solves math problem but failed