Sarah walks uphill at an average of 2 miles per hour, and downhill at an average of 4 miles per hour. She goes for a 6 mile hike up a hill, and then returns downhill by the same route. What is Sarah's average speed for the whole journey?