Answer :
east bound train = x
westbound train = x-20 ( 20 miles slower than east bound)
5x + 5(x-20) = 750
5x +5x -100=750
10x -100 = 750
10x =850
x = 850/10 = 85
east bound train is 85 mph
west bound train is 85-20 = 65 mph
check: 85*5 = 425
65*5 = 325
325+425 = 750