A ticket for the local fair costs $20 and each ride costs $4.50. Write an equation that represents the cost based upon the number of rides (x).

Then, you will calculate the total cost to go on 8 rides.

Cost = 20 + 4.50x

Cost = 20 + 4.50(8)
Cost = 20 + 36
Cost = $56

Therefore, the total cost to go on 8 rides at the local fair would be $56.