If two trains are traveling at exactly the same speed, it means they are both covering the same distance in the same amount of time. Therefore, they would not travel different distances.
However, if you are referring to the scenario where two trains start at the same time and reach the same destination, but one train is faster than the other, then the faster train would indeed travel a shorter distance. This may seem counterintuitive, but it can be explained by considering the time it takes for each train to reach the destination.
Since the faster train is traveling at a higher speed, it covers each unit of distance more quickly compared to the slower train. As a result, it spends less time on the journey. Consequently, the faster train would travel a shorter total distance because it reaches the destination in less time.
In summary, if two trains are traveling at the same speed, they would cover the same distance. However, if one train is faster than the other and they reach the same destination, the faster train would travel a shorter distance due to spending less time on the journey.