please see the attached picture for full solution
hope it helps
good luck on your assignment
7.2m questions
9.6m answers