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