Prob 3.
Prob. 4 soln