Xiao Gang is walking beside the railway along the highway in the direction of the railway. His walking speed is 2 meters per second. At this time, a train came head-on, and it took 18 seconds to pass by him from the front to the rear. Given that the total length of the train is 324 meters, what is the speed of the train in meters per second?
小刚在铁路旁边沿铁路方向公路边散步，他散步的速度是每秒2米．这时迎面开来一列火车，从车头到车尾经过他身旁共用了18秒．已知火车的全长是324米，则这列火车的速度是每秒多少米？
<gadget id="calculator">324 / 18</gadget>
<output>18</output>

<gadget id="calculator">18 - 2</gadget>
<output>16</output>

<result>16</result>