Solve PPP Chapter 7, Exercise 5