Answer:
Detailed solution is attached below for better demonstration of the problem and step wise solution.
4.6m questions
6.0m answers