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