Task: Solve P6.10 in your text please.

Here's where you can find the text of the problem: 

   https://www.cs.indiana.edu/classes/c212-dgerman/spr2013/classNotes/six/image030.jpg