Answer

Please refer to the attachment file to solve application related problem.

Reference