Ian and his family are driving to visit friends in another state. On the first part of the trip, they drive for 2 hr. at a constant rate of 60 mph. Then they hit rush hour and slow down to a constant rate of 45 mph for the next hour. The last three hours of the trip, they drive at a constant rate of 55 mph. How many miles did Ian and his family drive?