When the level starts (when the tools are spawned) the train will be stationary for 15 seconds before it starts going. When the train stops at a station, it will leave 0.5m of track ahead. Since 1m of track is automatically spawned in front of the train at the start of the level, there will be a total of 1.5m of track at the start of every level. As such, it will take 45 seconds in total to crash your train in the first level.