Answer: $300
===========================================
Work Shown:
x = price of the TV before the discount
20% of x = 0.20x = discount, aka amount saved
x - 0.20x = 0.80x = price after discount
0.80x = 240
x = 240/0.80
x = 300
The TV was $300 before the discount.
-------------
Check:
20% of 300 = 0.20*300 = 60 dollars is the amount saved
300-60 = 240 is the price after the discount, which matches the given info. The answer is confirmed.