please see the attached picture for full solution
Hope it helps...
Good luck on your assignment,
9.5m questions
12.2m answers