For a piece of iron wire, half of it is used for the first time and 1 meter is lost, the remaining half is used for the second time and the remaining half is more than 1 meter, and finally 5 meters are left. How many meters was this wire originally?
一根铁丝，第一次用去它的一半少1米，第二次用去剩下的一半多1米，最后剩下5米．问这根铁丝原来长多少米？
<gadget id="calculator">5 + 1</gadget>
<output>6</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

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

<gadget id="calculator">12 - 1</gadget>
<output>11</output>

<gadget id="calculator">11 / (1/2)</gadget>
<output>22</output>

<result>22</result>