A man travels to his office by a car at a speed of 40 km /hr and reaches office 9 minutes late. If he drives his car at a speed of 50 km/hr, he reaches 6 minutes early. What is the distance of his office from his home?
Please answer the question in a detailed manner rather than providing similar links.