How far should you stop from the nearest rail or gate if a train is approaching?