Two wires are the same length, the first wire is cut off by 50 cm, and the second wire is cut off by 180 cm, the remaining part of the first wire is three times the length of the second wire. What is the total length of the two wires in cm?
两根电线一样长，第一根剪去50厘米，第二根剪去180厘米后，剩下部分第一根是第二根长度的3倍．这两根电线原来共长多少厘米．
<gadget id="calculator">3 * 180</gadget>
<output>540</output>

<gadget id="calculator">540 - 50</gadget>
<output>490</output>

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

<gadget id="calculator">490 / 2</gadget>
<output>245</output>

<gadget id="calculator">245 + 245</gadget>
<output>490</output>

<result>490</result>