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 - using y=mx+b (x).

y = 4.50x + 20