A train which travels at a uniform speed due to some mechanical fault after traveling for an hour goes at 3/5th of the original speed and reaches the destination 2 hrs late.If the fault had occurred after traveling another 50 miles the train would have reached 40 min earlier. What is distance between the two stations.