Question 1136510
Let {{{ g }}} = gallons of gas you have
{{{ f(g) = 30g }}}
In terms of units:
[ gallons ] x [ miles / gallon ] = [ miles ]