A man takes 5 hours 45 min. in walking to a certain place and riding back. He would have gained 2 hours by riding both ways. The time he would take to walk both ways, is:
A and B start at the same time with speeds of 40 km/hour and 50 km/hour respectively. If in covering the journey, A taken 15 minutes longer than B, the distance of the journey is :