Ann drove to the mountains last weekend. There was heavy traffic on the way there, and the trip took 8 hours. When Ann drove home, there was no traffic and the trip only took 5 hours. If her average rate was 21 miles per hour faster on the trip home, how far away does Ann live from the mountains?