Lance decided they wanted to go to the neighborhood carnival during spring break. The carnival charges a one-time entry fee of $12.50 and $2.50 per ride.
a. What is the total cost for Lance if they go on 5 rides?
b. If Lance wants to spend a maximum of $30 at the carnival, how many rides can they go on?