Answer

Please follow the attachment document to solve.

Reference