Answer
Please see the work below.
Work Step by Step
We know that there is less friction between the wheels of the train and the rails as compared to that of the tires and the road in case of a moving car. That is why the train covers a greater distance before coming to rest than the car.