Let rn = rate or speed of the the train northbound
rs = rate or speed of the the train southbound
dn = distance travelled of the the train northbound
ds = distance travelled of the the train southbound
Since the northbound train travels 18 miles per hour faster than the southbound train, we can represent it this way:
rn = 18 + rs
To solve this problem, we can use the common formula d = rt (distance = rate multiplied by the time travelled). Therefore the distance travelled by the train northbound after t = 2 hours is:
dn = 2 rn or dn = 2 (18 + rs)
Furthermore, the distance travelled by the train southbound after t = 2 hours is:
ds = 2 rs
If we add these two distances together they should add up to 244 miles according to the problem.
2 (18 + rs) + 2 rs = 244
36 + 2 rs + 2 rs = 244
36 + 4 rs = 244
rs = 52 mph
rn = 18 + rs = 18 + 52 = 70 mph