Answer:
$1600
Explanation:
The $800 that the customer paid is 50% of the retail price, so the retail price is twice that amount:
$800/0.50 = $1600
The selling price of the mattress before the discount was $1600.
__
Additional comment
The wholesale price was $1600/2.25 = $711.11