Chapter 2 Example 6 complete

Chapter 2 Example 6 complete