The total length of the three railways is 1090 kilometers. The first railway is 151 kilometers shorter than twice the second railway, and the third is 9 kilometers longer than the second. How long is the first railway in kilometers?
三条铁路共长1090千米，第一条铁路比第二条铁路的2倍少151千米，第三条比第二条多9千米，第一条铁路长多少千米？
<gadget id="calculator">1_090 - 9</gadget>
<output>1_081</output>

<gadget id="calculator">151 + 1_081</gadget>
<output>1_232</output>

<gadget id="calculator">2 + 1 + 1</gadget>
<output>4</output>

<gadget id="calculator">1_232 / 4</gadget>
<output>308</output>

<gadget id="calculator">308 * 2</gadget>
<output>616</output>

<gadget id="calculator">616 - 151</gadget>
<output>465</output>

<result>465</result>