please see the attached picture for full solution
hope it helps
good luck on your assignment..
5.6m questions
7.3m answers