I think that this ought to be in 'Science' or 'How it Works' but, anyway, (a) is correct.
To see why (b) doesn't work, make the total distance 700 miles (to keep the sums easy). So 350 miles is travelled at 50mph (thus taking 7 hours) and another 350 miles is travelled at 70mph (thus taking 5 hours). Therefore 700 miles has been travelled in 12 hours, giving an average speed of 58.33mph (to 4 s.f).
To check that (a) works, simply make the total time travelled equal to 2 hours. So the first hour is at 50mph (meaning 50 miles has been travelled) and the second hour is at 70mph (meaning 70 miles has been travelled). Thus 120 miles has been travelled over 2 hours, which averages 60mph.
Chris