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

Cost = $18 + $3.00(x)