Problem 10.9 completed