A ticket for the local fair costs $

18
18 and each ride costs $
2.50
2.50. Write an equation that represents the cost based upon the number of rides (x)

y=mx+b

y = 2.50x + 18