The train is 100 metres long and approaching a 3000 metre long tunnel.
30 seconds would pass if the front car and last train car exit the tunnel.
How do I determine the constant speed of something in kilometres per hour?