Part A: y=mx+b where m is the slope and b is the constant. $8 for entry is the constant, at is wont change during our equation. $1.4 is our slope as its the cost per ride. r is going to be our x. So our equation will be 1.40r + 8
Part B: Now that we know the amount of money, we can place the $26 for y. So lets solve now with our new equation of:
26 = 1.4r + 8
26 - 8 = 1.4r
18 = 1.4r
18 / 1.4 = r
12.85 = r
Obviously he cant ride 12.85 rides. Typically we round up, but to say he rides 13 rides means he has to have $26.2, which we know he does not have. Therefore, we say that he can ride 12 rides.
Quick math check:
1.4(12) + 8 = $24.8 which is less then $26.
I hope this helps! :)