Okay,..
I try to avoid ST diagram as possible,
This is the original light path as seen from the rest platform.
What does this tell us?
Train (T) will see that the light travels 2c distance. So when the train (T) arrives at B, T will see that T's clock is 2 seconds.
T will see that B's clock is 6 seconds, but don't confuse 6 seconds! Because the clock might no by synchronized at first.
But there is one thing that we should take for granted to understand this time dilation.
A's clock and B's clock must be synchronized!.
So when T arrives at B, they must confer, all of them A,B and T.
But A shouldn't come to B, even if A walks to B at 4mph, A's clock won't be synchronized with B even with negligible ##\frac{1}{\sqrt{1-4mph/c^2}}##. Phone will be safe
A: "T starts travel at A:0 seconds and T's clock read 0"
B: "T arrives at B: 6 seconds and T's clock read 2"
So 2 seconds for the train is 6 seconds for the platform, that we already knew.
But what about the T? How can T prove that time dilation is mutual?
T should also have friends, too to confer with T, because train's clock and platform clock are differents and they might not be synchronized.
They are the cars.
T's clocks between cars must be synchronized!.
See this picture. What does it tell us?
Now, A also flashes it light along the rail width, perpendicular with the direction of the train, so we'll have the same situation.
T will see that A's light is slanted, of course T always see that T's light is straight, perpendicular to T's travel direction.
Now, when T Front (TF) arrives at B, TF will read its clock: 2 seconds.
How does TF see the light that's flashed by A? The light will be slanted, and 2 seconds is not enough for the light to bounce back from the other side of the rail to A.
In 2 seconds, the light only travels at the green part of the arrow, see picture.
T calculates the distance by pythagoras theorem.
The hypotenuse is, of course, 2 ls. Remember TF clock when it arrives at B read 2 seconds.
T speed is ##\frac{2\sqrt{2}}{3} = 0.9428c; \gamma = \frac{1}{\sqrt{1-\frac{(2\sqrt{2})^2}{3^2}}} = 3## from now on, we'll use decimals.
So in 2 seconds, A will be at 1.8856c.
Interestingly when TF arrives at B, A haven't reached Train Back/Stern (TB) car, somehow AB distance is length contracted.
After all is settled, the train confers.
So, TF consult one of his car in the middle that is 1.8856 ls away from TF, let's call this middle car TM.
TF: "TM!, please read A's clock"
Remember, the hypotenuse is 2 ls, horizontal distance is 1.8856 ls, so vertical distance (D) is ##D = \sqrt{2^2-1.8856^2} = 0.667## seconds. A will see that the light only travels 0.667 ls after TF left, or after A flashed the light, so A's clock is 0.667 seconds
TM: "A's clock is 0.667 seconds" This is the most important clock time in our discussion
----------------------------------------------------------------------------------------------------------------
TF thought, "Funny, I left when A's clock reads 0 seconds, now when my clock (TF) reads 2 second, A's clock reads 0.667 seconds. Subtracting 0.667 - 0 = 0.667 (always remember platform's clock might not be synchronized with trains clock), so platform's clock is dilated by a factor of 3"
B thought: "Interesting, when TF arrives, my clock (B) reads 6 seconds and TF reads 2 second, A reports that when TF left, TF's clock read 0 seconds. Subtracting 2-0 = 2 (clocks might not be synchronized), so train's clock is dilated by a factor of 3"
----------------------------------------------------------------------------------------------------------------------
This is the S-T diagram.
This diagram is not to scale!
V is 0.6 instead of 0.9428c. Because when you tranform it to rest, it disappear from the screen. Gamma factor is to big.
But the concept is the same.
As predicted, there's simultaneity of events.
At platform rest frame, E1 and E3 is at the same time.
At train rest frame, It's E1 and E6 is at the same time.
The maroon rectangle (TM) is the location of the middle car that is interogated by TF.
I hope I don't make any mistake and I hope the good mentors and advisors would be so kind to correct me immediately before the OP is mislead.
Thanks.