Please see the attached picture for full solution
hope it helps
Good luck on your assignment
8.7m questions
11.3m answers