As I am going on a tour with my friend I am unable to devote the time to the assignment that is provided by my teacher. Also, I have to properly understand it, so that I can solve this problem. It would be helpful if you could provide your assistance to solve this...