You average 60 miles per hour while driving to an amusement park. On the return trip you average 40 miles per hour due to traffic. The total driving time is 2 hours 30 minutes. How long does each trip take?