There are two plastic ropes, one 80 meters long and the other 40 meters long. If a section of the same length is cut from each of the two ropes, the remaining length of the short rope is (2/7) that of the long rope. How many meters are cut from each of the two ropes?
有两根塑料绳，一根长80米，另一根长40米．如果从两根绳上各剪去同样长的一段后，短绳剩下的长度是长绳剩下的(2/7)．两根绳各剪去多少米？
<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">(2/7) * 80</gadget>
<output>160/7 = around 22.857143</output>

<gadget id="calculator">40 - (160/7)</gadget>
<output>120/7 = around 17.142857</output>

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

<gadget id="calculator">(120/7) / (5/7)</gadget>
<output>24</output>

<result>24</result>