A man on a road trip drives a car at different constant spee…

A man on a road trip drives a car at different constant speeds over several legs of the trip. He drives for 40.0 min at 55.0 km/h, 9.0 min at 60.0 km/h, and 30.0 min at 30.0 km/h and spends 35.0 min eating lunch and buying gas. What is the total distance traveled over the entire trip (in km)?