Lets say the train is moving with 10 meters per second. That means that the people will enter the portal with 10 meters per second. Therefore, they will leave the other portal with, you guessed it, 10 meters per second. Henceforth, they will be traveling with 10 meters per second after leaving the portal. 10 meters per second.