558 gallons are used when the car has been driven 18 miles.
Step-by-step explanation:
From the given data, it can be determined that :
Let, the number of gallons for 18 miles = 'x' gallons
To find x :
compare the given data with the unknown data,
62 gallons / 2 miles = x gallons / 18 miles
keep x alone on one side,
x = (62×18) / 2
x = 31×18
x = 558 gallons
Therefore, 558 gallons are used to drive 18 miles.