The train traveled at a speed of 90 miles per hour for 3 hours then slowed down to 72 miles per hour for the next 1 1/2 hours. What is the total number of miles the train traveled?