solution: part a.

eqnarray14