If a freight train travels at an average speed of 30 mph, it will arrive at its destination 1.5 hours late. If the train instead travels at an average speed of 45 mph, it will arrive 1 hour early. At what average speed, in miles per hour, should the train travel in order to arrive at its destination exactly on time?