Two trains 500 miles apart accidentally are on the same track heading toward each other. The passenger train is traveling 80 mph
while the freight train is traveling 40 mph. A dispatcher discovers the error and warns them 1 minute before they were to collide. How far apart, in miles, were they when they were warned?