An engineer is directed to a faulty signal, one quarter of the way into a tunnel. Whilst there, he is warned of a train heading towards the tunnel entrance. The engineer can run at 12 mph and can either run back to the tunnel entrance or forward to the exit. In either case, the engineer and the front of the train would reach the entrance or the exit together. What is the speed in mph of the train?
Bonus question: what can the engineer run for 5k?