William W. answered 09/04/19
Math and science made easy - learn from a retired engineer
distance (miles) / gas mileage (miles per gallon) = number of gallons of gas used. So n/27 = gallons of gas used. Let gallons of gas used = g(n) so then g(n) = n/27
number of gallons used * gas price ($/gallon) = cost in $s. So n/27*3.24 or 3.24n/27 or 0.12n is the cost in $s. Let the cost in $s = c(n) so c(n) = 0.12n