Hi Rachel,
Recall d = rt
Distance = rate times time
let
d1 = distance the first train travels
r1 = the speed of the 1st train = 72 mph
d2 = distance the second train travels
r2 = the speed of the 2nd train = 66 mph
r2 = the speed of the 2nd train = 66 mph
t = time travelled (in hours)
We want to know when the two trains are 45 miles apart
d1+d2 = 45
r1t + r2t = 45
72t + 66t = 45
138t = 45
t = .326 hours