A train travels from A to B at 80 kilometers per hour. When it exceeds 100 kilometers from the midpoint, it is still 140 kilometers away from the end point. How many hours does it take for the train to travel from A to B?
一列火车从甲地开往乙地，每小时行80千米，当超过中点100千米时，离终点还有140千米，这列火车从甲地开往乙地需要多少小时？
<gadget id="calculator">140 + 100</gadget>
<output>240</output>

<gadget id="calculator">2 / 80</gadget>
<output>1/40 = around 0.025</output>

<gadget id="calculator">240 * (1/40)</gadget>
<output>6</output>

<result>6</result>