Which of the following is the most appropriate unit to describe the rate of the cost of gasoline?

ADollars per gallon, because the dependent quantity is the gallons

B.Dollars per gallon, because the dependent quantity is the dollars

C.Gallons per dollar, because the dependent quantity is the gallons

D.Gallons per dollar, because the dependent quantity is the dollars