Need help in solving this problem statement?

Printable View