write a function. f(x), that represents the cost of renting a car for x days with a total of 80 kilometers if there is a fixed charge of $17 per day and a charge of $0.35 per kilometer.

f(x) = 17x + 80(.35)

To write a function that represents the cost of renting a car for x days with a total of 80 kilometers, we can multiply the number of days by the fixed charge and add the product of the total kilometers and the charge per kilometer.

The formula for the cost of renting a car can be written as:

f(x) = (17 * x) + (0.35 * 80)

Explanation of the formula:

1. Fixed charge per day: The fixed charge per day is given as $17, and since we are renting the car for x days, we multiply the number of days (x) by the fixed charge.

2. Charge per kilometer: The charge per kilometer is given as $0.35, and we are traveling a total of 80 kilometers. So, we multiply the total kilometers (80) by the charge per kilometer.

3. Adding the two components together: To obtain the total cost, we add the product of the fixed charge and the number of days with the product of the charge per kilometer and the total kilometers.

Hence, the function f(x) = (17 * x) + (0.35 * 80) represents the cost of renting a car for x days with a total of 80 kilometers.