JohnHarris wrote:
You are given a number of miles and a number of miles per gallon. You should recognize almost immediately that multiplying the numbers won't work because you are going to get a weird unit like miles^2/gallons.
this is a good observation -- if you are stuck on a word problem, then a quick analysis of the units in which the quantities are expressed may yield the key to a correct procedure.