A bag of rice, 30% of the total amount was eaten for the first time, and 2 kg less than the first time was eaten for the second time, leaving 6 kg. How many kg of rice are in this bag?
一袋大米，第一次吃了总数的30%，第二次比第一次少吃了2千克，还剩下6千克，这袋大米共多少千克？
<gadget id="calculator">6 - 2</gadget>
<output>4</output>

<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">(3/10) + (3/10)</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">1 - (3/5)</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">4 / (2/5)</gadget>
<output>10</output>

<result>10</result>