Solve problem 10.