Let the distance between the station be miles the average speed miles/hour, the average time take by the train is hours.

Distance traveled by the train in 1 hour is miles. Time taken to cover the remaining distance is . Total time taken is hours.

Had the trouble occurred 50 miles beyond we have time take to be