$$
f(r) = 12 + 3r
$$
The function represents the total cost, in dollars, of attending a carnival when rides are ridden. How many rides can be ridden for a total cost of \51$?
This is a student-produced response item: there are no answer choices. Work the answer out, then compare it against the passage and mark your own work.