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