Completed problem 10.