Solve PPP Chapter 7 Exercise 6