Using $285 for 3 days and $510 for 6 days, we get
285/3 = 95
510/6 = 85
which seem to be different rates per day, but we need to look at it differently.
For 6 days, you pay $510.
For 3 days you pay $285.
The difference between those two rentals is 3 days and $510 - $285 = $225.
The rental amount due to teh daily rate is $225.
$225/3 = $75.
For each day you rent, you must pay $75.
The rest of the payment is a one-time fee for the rental.
3 days due to daily rental fee: 3 * 75 = 225
Problem tells us that for 3 days, it's $285.
$285 - $225 = $60
One-time fee = $60
y = 75x + 60
f(x) = 75x + 60