When a train crosses a stationary point (like a man or a pole), the distance covered is the length of the train. When two trains cross each other in opposite directions, the total distance is the sum of their lengths, and the relative speed is the sum of their individual speeds.