Quantitative Aptitude

    Speed and Distance
    Hard
    Time
    Distance

    A person is traveling from city A to city B by car. He travels the first 4040% of the distance at a speed of 60km/h60 km/h, the next 3030% at a speed of 90km/h90 km/h, and the remaining distance at a speed of 75km/h75 km/h. The entire trip takes him 5 hours. What is the total distance between city A and city B?