a man teaches a math problem