Assignment:
One hour out of the station, a train engine develops trouble that slows the train to 3/5 of its average speed up to the time of the failure. Continuing at this reduced speed, it reaches its destination two hours late. Had the trouble occurred 50 miles beyond; the delay would have been reduced by 40 minutes. Find the distance from the station to the destination.
Provide complete and step by step solution for the question and show calculations and use formulas.