To determine the rate of the trains, we can use the distance formula:
\[ \text{Distance} = \text{Rate} \times \text{Time} \]
From the information given:
- Train A travels for 4 hours to reach Station A.
- Train B travels for 312 hours to reach Station B.
Since both trains travel at the same speed, we can denote their common speed as \( r \) (in miles per hour).
For Train A: \[ \text{Distance to Station A} = r \times 4 \]
For Train B: \[ \text{Distance to Station B} = r \times 312 \]
Since the total distance between Station A and Station B is 562.5 miles, we can write the equation:
\[ r \times 4 + r \times 312 = 562.5 \]
This simplifies to:
\[ 4r + 312r = 562.5 \]
Combining the terms gives:
\[ 316r = 562.5 \]
Now, we can solve for \( r \):
\[ r = \frac{562.5}{316} \]
Calculating this:
\[ r \approx 1.78 \text{ miles per hour} \]
Thus, the rate of the trains is approximately:
\[ \boxed{1.78} \] (miles per hour)