For two ropes of the same length, the first one is cut off by 12 meters, and the second one is connected by 14 meters. At this time, the length of the second rope is three times the length of the first one. How long are the two ropes in meters?
两根同样长的绳子，第一根截去12米，第二根接上14米，这时第二根长度是第一根长的3倍．两根绳子原来各长多少米？
<gadget id="calculator">12 + 14</gadget>
<output>26</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">26 / 2</gadget>
<output>13</output>

<gadget id="calculator">13 + 12</gadget>
<output>25</output>

<result>25</result>