Final answer:
The equation that represents the relationship between total discount and the number of weeks on sale is y = 20 - 2x.
Step-by-step explanation:
The equation representing the relationship between the total discount, y, and the number of weeks the shirt is on sale can be found by understanding the rate of change in the shirt's price over time.
The shirt's original price is $20 and after 4 weeks, it is $12.
This means a total discount of $20 - $12 = $8 was given over the duration of four weeks.
Therefore, the discount given each week is $rac{8}{4} = $2 per week.
If we let x represent the number of weeks, the total discount after x weeks would be $2 times x or $2x.
Since the original price is $20, we would subtract the total discount from the original price to get the final price.
Thus, the equation that represents this relationship is y = 20 - 2x, where y is the price of the shirt after x weeks on sale.