how can you use the relationship between the independant and dependent variables to write a unit rate?

gallons=10*timeInHours

is the same as 10gallons/hr