Erwan went on shopping. He purchased a pair of shoes at $200 but discounted 30%, and two shirts at $80 each. Upon checkout, the cashier said that there is an additional 5% discount. How much did he spend after all the discounts?
The total discount of a pair of shoes is $200 x 30/100 = $
<gadget id="calculator">200*30/100</gadget>
<output>60</output>
60.
He spent $200 - $60 = $
<gadget id="calculator">200-60</gadget>
<output>140</output>
140 for a pair of shoes.
The total cost of two shirts is $80 x 2 = $
<gadget id="calculator">80*2</gadget>
<output>160</output>
160.
The initial cost of his purchase is $140 + $160 = $
<gadget id="calculator">140+160</gadget>
<output>300</output>
300.
He got an additional $300 x 5/100 = $
<gadget id="calculator">300*5/100</gadget>
<output>15</output>
15 discount upon checkout.
Therefore, Erwan spent $300 - 15 = $
<gadget id="calculator">300-15</gadget>
<output>285</output>
285 after all the discounts.

<result>285</result>