When a train passes a stationary object of significant length (like a tunnel or bridge), the total distance covered by the train is the length of the object plus the length of the train itself.