a car campany charges a flat fee of $98 and an additional $5 per mile for the rental of its cars. which function gives the cost of renting a car for x miles

The function that represents the cost of renting a car for x miles is:

f(x) = 98 + 5x

Where:
f(x) represents the cost of renting a car for x miles
98 is the flat fee charged by the car company
5 is the additional cost per mile
x represents the number of miles driven