Sally travels by car from one city to another. She drives for 30 min at 80 km/hr, 12.0 min at 105 km/hr, and 45 min at 40.0 km/hr. What was the total distance traveled?