A company charges $15 per hour plus a $20 setup fee to rent a bouncy house for 3 hours or less. They charge $12 per hour and no setup fee if the bouncy house is rented for more than 3 hours. Use to select the correct equation where x is the number of hours and y is the total cost.

If the bouncy house is rented for 3 hours or less, the equation to calculate the total cost (y) would be:

y = 15x + 20

If the bouncy house is rented for more than 3 hours, the equation to calculate the total cost (y) would be:
y = 12x