Let the initial speed of both trains be \( v_0 = 72 \, \text{km/h} = 20 \, \text{m/s} \).
Let the acceleration of train B be \( a = 1 \, \text{m/s}^2 \).
The time \( t = 50 \, \text{s} \) is given.
The distance covered by train B during 50 seconds, with initial speed \( v_0 \), can be calculated using the equation for motion:
\[
s_B = v_0 t + \frac{1}{2} a t^2
\]
Substituting the known values:
\[
s_B = 20 \times 50 + \frac{1}{2} \times 1 \times 50^2 = 1000 + 1250 = 2250 \, \text{m}
\]
Since both trains have a length of 400 m, the original distance between the two trains will be the distance travelled by B minus the lengths of both trains:
\[
\text{Distance} = s_B - 400 - 400 = 2250 - 800 = 1250 \, \text{m}
\]
Thus, the correct answer is (d).