If he turns and runs back, he will make it out of the tunnel just as the train is entering it (and will save himself by a hair). If he goes forward to the far end of the tunnel, he will also just barely make it, emerging from the tunnel just as the train is about to catch up to him.
If the man's running speed is 7 miles per hour, how fast is the train moving?
(from techInterview.org)