Train A and train B leave a central station at the same time. They travel the same speed, but in opposite directions, with train A heading towards station A, and train B heading towards station B. Train A reaches station A after 3 h. Train B reaches station B after 214 h. Station A and Station B are 420 mi apart.

Let's assume the speed of both trains is x mph.

The distance covered by train A in 3 hours is 3x miles.

The distance covered by train B in 214 hours is 214x miles.

We know that the sum of the distances covered by both trains is equal to the total distance between the stations.

Therefore, we can write the equation:
3x + 214x = 420

Combining like terms, we get:
217x = 420

Solving for x:
x = 420 / 217 = 1.938 mph

Therefore, the speed of both trains is approximately 1.938 mph.