Write an equation to represent the total cost if Maya buys y tires which cost a total of $90 with a garage charge of $20 per tire to change the tires and with a discount of x percent.

Total cost = ________________________________