Question 289015
The other tutor did a good job of presenting the problem and its solution. 
I just want to mention why the equation is y=24+.20x
You only pay the $24 once. But you pay 20 cents for every mile (x)
and the result is the total cost y.
We set it up as equal because we want "no more than" meaning "the max" meaning it can be 40 but no more. So we stop at 40 exactly.
But we aren't really interested in 39.5 just 40.

The other rental plan is y=40.