A has a house worth 300,000 yuan, and sells it to B at a discount of 10% (90%). After a period of time, the house price rises by 10%, and B sells it to A again. How much money does A lose in total?
甲有一套住房价值30万元，以九折(即90%)优惠卖给乙，过了一段时间后，房价上涨了10%，乙又卖给甲，甲总共损失多少钱？
<gadget id="calculator">10 / 100</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 + (1/10)</gadget>
<output>11/10 = around 1.1</output>

<gadget id="calculator">30 * (11/10)</gadget>
<output>33</output>

<gadget id="calculator">90 / 100</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">30 * (9/10)</gadget>
<output>27</output>

<gadget id="calculator">33 - 27</gadget>
<output>6</output>

<result>6</result>