Let:
a = charge per additional mile
b = Initial charge
x = Total distance
y = Total cost
We can describe this situation using a linear model of the form:
so: