Xiaogang is walking on the road next to the railway along the direction of the railway. His walking speed is 2 m/s. At this time, a train is coming towards him. It takes 18 seconds to pass him from the front to the rear of the train. The total length of the train is known. 342 meters, find the speed of the train.
小刚在铁路旁边沿铁路方向的公路上散步，他散步的速度是2米/秒，这时迎面开来一列火车，从车头到车尾经过他身旁共用了18秒，已知火车全长342米，求火车的速度．
<gadget id="calculator">342 / 18</gadget>
<output>19</output>

<gadget id="calculator">19 - 2</gadget>
<output>17</output>

<result>17</result>