The scene is made using the Array modifier. You can change the length of the tunnel and the train. But the first 3 cars use different numbers and do not use the modifier. For the animation of the train, it is better to remove the fog. Or use a very large number of samples.