Example 2 (HW 12)

Modified