working problem 8 soln