For two iron wires of the same length, the first one is cut off by 18 cm, and the second one is cut off by 26 cm. The remaining iron wires are three times as long as the first wire. How long are the two wires in centimeters?
两根同样长的铁丝，第一根剪去18厘米，第二根剪去26厘米，余下的铁丝第一根是第二根的3倍．原来两根铁丝各长多少厘米？
<gadget id="calculator">26 - 18</gadget>
<output>8</output>

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

<gadget id="calculator">8 / 2</gadget>
<output>4</output>

<gadget id="calculator">4 + 26</gadget>
<output>30</output>

<result>30</result>