5 points
All motion is relative. To understand how the people will move, we need to look at them relative to the portal. If the trolly is moving at 5 m/s relative to the ground, then the people are moving at 1 m/s relative to it. So they enter the portal moving at 1 m/s and exit at the same speed.
1 point