The cost function is given by \( C = 12d + 19 \), where \( C \) is the cost and \( d \) is the number of days.
You want to find the maximum number of whole days you can hire a car if you have a total of $130. In other words, you want to find the maximum value of \( d \) when \( C = 130 \).
\[ 12d + 19 = 130 \]
Subtract 19 from both sides:
\[ 12d = 111 \]
Now, divide both sides by 12 to solve for \( d \):
\[ d = \frac{111}{12} \]
To find the maximum number of whole days, you want the largest whole number that is less than or equal to \( \frac{111}{12} \). The largest whole number is 9.
So, you can hire the car for a maximum of 9 whole days with a total cost of $130.