Nothing's wrong with the other tutors' answers, but I think nowadays teachers
like for you to multiply by a whole string of unit multipliers.
That's where you always multiply by a fraction with equal numerator and
denominator, but in different units, so that each will cancel away a unit you
want to get rid of and introduce a unit that you want to bring in.
First you make a "path" for converting each unit:
The "gasoline (or petrol) path" goes from gallons to quarts to liters.
The "distance path" goes from miles to feet to inches to centimeters to meters
to kilometers.
You multiply by this long product of unit multipliers (each is actually equal to
1):
Then you go on a unit canceling spree:
and you end up with only some numbers, km on top and L on the bottom:
[Nissan would probably say 14 km/L. Or they might stretch it a bit
and say 15 km/L. LOL]
Edwin