Two trains leave different cities heading toward each other at different speeds. ... At the same timeTrain B, traveling 60 mph, leaves Eastford heading toward Westford. ... Since an equation remains true as long as we perform the same operation ... that the train's rate is 40 mph, which means it will travel 40 miles in one hour.