A train travels 240 kilometers in 2 hours, and it takes 12 hours to travel from city A to city B. What is the total length of the railway from city A to city B?
一列火车2小时行240千米，从A城到B城需要行驶12小时，从A城到B城的铁路全长是多少千米？
<gadget id="calculator">240 / 2</gadget>
<output>120</output>

<gadget id="calculator">120 * 12</gadget>
<output>1_440</output>

<result>1_440</result>