let take two points as miles and gas used:
First find the slope:
Now find the equation at initial condition where distance and gas used are equal to zero.
3.5m questions
4.5m answers