A truck rental company rents a moving truck for one day by charging $22 plus $0.09 per mile. Write a linear equation that relates the cost​ C, in​ dollars, of renting the truck to the number x of miles driven. What is the cost of renting the truck if the truck is driven 162 miles? 399 ​miles?

22 + 0.09x = c

To write a linear equation that relates the cost C to the number x of miles driven, we can start by identifying the given information:

1. The base cost of renting the truck for one day is $22.
2. Each mile driven incurs an additional charge of $0.09.

Using this information, we can create the equation as follows:

C = 22 + 0.09x

Here, C represents the cost in dollars, and x represents the number of miles driven. The first term, 22, represents the base cost, and the second term, 0.09x, represents the additional cost per mile.

To find the cost of renting the truck for a specific number of miles, we substitute the value of x into the equation and solve for C.

If the truck is driven 162 miles:
C = 22 + 0.09(162)
C = 22 + 14.58
C = 36.58

Therefore, the cost of renting the truck for 162 miles is $36.58.

If the truck is driven 399 miles:
C = 22 + 0.09(399)
C = 22 + 35.91
C = 57.91

Therefore, the cost of renting the truck for 399 miles is $57.91.