answer for problem 10