hand written solution to the math problem