Pam drives on the highway, averaging 54 1/2 miles per four for 3 hours. She then turns off the highway onto a smaller route, where she drives at an average rate of 34.25 miles per hour for another 3 hours. How many miles has Pam driven after 6 hours?