How would you write a real-world problem that models the following equation: −x+40=x

A store sells t-shirts for $40 each. If a customer purchases x t-shirts, the total cost of the t-shirts, minus a discount, is equal to the amount the customer paid in cash.