Peter left his home in Chicago and drove to a town a few hours away. On the way there, he drove 40 mph due to traffic, but on the way back home, he drove 60 mph. What was his average speed?