An alternate approach:
When i cannot figure out a direct way, I try the plug in approach, whcih usually means
picking one of the answers and plugging in to your model. I learnt this approach from Princeton Review's Cracking the GMAT which, IMO, is the only saving grace of Princeton Review's book.
fraction of time spent driving at 30 mph= x
fraction of time spent driving at 60 mph = y
Total time = T
d1 = distance travelled at 30 mph
d2 = distance travelled at 60 mph
chose 1/3 first because it just felt about right because avg of 50 mph is 20 more than 30mph and 10 less than 60...so I figured the portion of time spent driving at 60 mph should be longer.
which means
x/T = 1/3 (fraction of time spent driving at 30mph)
y/T= 2/3 (fraction of time spent driving at 60 mph)
Assume T to be 3 hours, then x = 1 hour, y= 2 hours (this works because we just need fraction, not exact or actual time)
which would make the distances =
d1 = 30 mph x 1 hr = 30 miles
d2 = 60 mph x 2 hrs = 120 miles
Total distance = 150 miles
finally confirm the answer with, avg speed = total distance/total time = 150/3 = 50 mph
which means 1/3 is correct