There is a batch of goods, 30% of which was transported in the morning, and 5 tons more than the rest (2/7) in the afternoon, and finally 1 ton was left unfinished. How many tons of this batch of goods are in total?
有一批货物，上午运走30%，下午运走的比余下的(2/7)多5吨，最后还剩下1吨没有运完，这批货物共有多少吨？
<gadget id="calculator">1 + 5</gadget>
<output>6</output>

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

<gadget id="calculator">1 - (3/10)</gadget>
<output>7/10 = around 0.7</output>

<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">(7/10) * (2/7)</gadget>
<output>1/5 = around 0.2</output>

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

<gadget id="calculator">6 / (1/2)</gadget>
<output>12</output>

<result>12</result>