A train traveling 90mph takes 4 seconds to completely enter a tunnel and 40 additional seconds to pass through the tunnel.

How long is the train?

How long is the tunnel?