Solve problem 9.