linfongyu's method was excellent: treating it as a round-trip problem in order to use the special round trip average speed formula: whenever an object's journey is divided into two legs of equal distance, you can always find the average speed using the formula that lingfonyu posted. I call it the "round trip" formula b/c the most common situation on the GMAT where you will have one object's journey divided into two legs of equal distance is in round trip problems where an object goes from A to B, and then back to A again.
In case you didn't know that formula, you could have also picked numbers as follows.
Let total distance be 100 miles. Let x be 40; then, x percent of total distance is: 40% of 100 = 40 miles. Then, she went for 40 miles at 40 mph, which, therefore, took 1 hour.
Leaving 100-40 = 60 miles, which she travelled at 60 miles per hour, so this also took 1 hour. So, with these numbers, her total time was 2 hours.
Average speed = total distance/total time = 100/2 = 50. So, when x is 40, her average speed is 50. Go to the answer choices, plug in 40 for x, and eliminate those answer choices that don't result in 50; only E works.
_____________
When picking numbers, we want to make the problem as manageable as possible!
With percent problems, picking 100 is often the best way to go!
___________
When you got to the point where you're ready to plug in to the answer choices, in this question, you should definitely start from the bottom...can anyone tell me why?! (think about it!..think like the test-maker!)
Kaplan Teacher in Toronto