Answer:
In attachment I have answered this problem.↑↑
Hope this helps.
If you have any doubt, then you can ask me in the comments.
1.6m questions
2.0m answers