Step-by-step explanation:
this is a strange rental company charging no daily fees.
but ok.
so, we have a fixed part of the cost : $24
we have to pay that no matter how many miles we drive. even for 0 miles, just to get the keys to the car.
and then we pay $0.35 for every mile driven.
that makes our function
C(x) = 0.35x + 24
and if we drive 40 miles, that makes x = 40.
C(24) = 0.35×40 + 24 = 14 + 24 = $38
it would cost us $38.