5lb Averages, Weighted Averages, Median, and Mode

Can anyone please explain the following question?

Suppose the distance between the two cities is 50 miles. Compute Quantity A.

Sorry, I don’t get it.

So when driving from city A to B, how much fuel did the car use?
Can you extend this to the entire trip (which would be 100 miles in total)?