$\def\cA{{\cal A}} \def\cB{{\cal B}} \def\cM{{\cal M}} \def\RA{{\rm R_\cA}} \def\RB{{\rm R_\cB}} \def\rE{{\rm E}} \def\rF{{\rm F}}$
I have retrieved two drawings I did years ago for a lecture on this topic. I wish to show them in order to illustrate the way of reasoning I find best suited to introductory relativity teaching. There are two figures, showing the same physical situation as it would appear from two reference frames: frame $\tt T$ (the train) and $\tt S$ (the station).
Of course in frame $\tt T$ the train is stationary. In figure $\tt T$ you can see cartesian axes $(x,t)$ I will never use. They are there only to remind that from one frame to the other spacetime coordinates do change. There are three vertical lines, marked $\cA$, $\cB$, $\cM$. These are what I call objects: $\cA$ is the train's head, $\cB$ its tail, $\cM$ its mid-point. Since train is still, $x$-coordinates of
these objects do not change with time. Therefore their worldlines have $x=\rm const.$ and are parallel to $t$-axis.

Continuing to examine the figure we see 4 points with their marks. There is one more than would suffice for Einstein's description of relativity of simultaneity, but this will help our analysis. Einstein's idea is to consider two lightnings, simultaneously falling at the train's extremities. In figure these are two events named $\RA$, $\RB$ (why R? I'll explain presently). That these events are simultaneous in $\tt T$ is shown by line $\RA\RB$ being parallel to the $x$-axis.
Note: I chose scales on $(x,t)$ axes so that 1 second in time has the same length as 1 light-second in space. In other words, I use units where $c=1$. Then worldlines of light signals are inclined 45$^\circ$ to the right or to the left.
But to physically ensure simultaneity, I do without lightnings and introduce two flashes starting from mid-point (event $\rE$). Events $\RA$, $\RB$ are defined as the arrivals of these flashes to $\cA$, $\cB$. Simultaneity is guaranteed by $\cM$ being the mid-point and by known assumptions about propagation of light. Flashes are reflected in $\RA$, $\RB$ and come back simultaneously to $\cM$ (event $\rF$).
Another thing to be noted in the figure is the red diamond. It depicts flashes' paths, from $\cM$ (mid-train) to head and tail, and vice versa. The only reason to draw it is to compare with its appearance in frame $\tt S$.
Let's now go to the next figure. It is drawn in frame $\tt S$, where the train is moving to the right, its speed being a fraction of $c$. But not too small a fraction (a relativistic train!) so as to make relativistic effects clearly visible. Axes are named $(x',t')$ since the same event has generally different coordinates in both frames.

Worldlines of $\cA$, $\cB$, $\cM$ are still parallel straight lines (all objects, as parts of the same train have the same constant speed) and are leaning to the right. The $\cM$-line is halfway between the others, as $\cM$ remains equidistant from $\cA$ and $\cB$, even if the train is moving. (Nothing will be said about their distances: Lorentz contraction is present, but we do not need to know this, nor
to know its amount.)
But something new is happening: line $\RA\RB$ is no longer parallel to $x$-axis. Let's see why. Follow the flashes emitted in $\rE$. Their worldlines are still at 45$^\circ$, since speed of light is invariant: it is the same in $\tt S$ as in $\tt T$, irrespective of whether its source is still or is moving. It's obvious that the flash aimed at the train's head will employ more time to reach its target than the other one, aimed at the tail. This is because the train's head runs away, whereas the tail goes meet the incoming light. (Note
that this has nothing to do with relativity, once you accept that light has the same speed in both directions.) The same result can be arrived at by pure geometry, simply looking at the figure.
We are thus led to an inescapable conclusion: events $\RA$, $\RB$, which were simultaneous in $\tt T$, are not simultaneous in $\tt S$. More precisely, $\RB$ precedes $\RA$. Actually geometry tells something more, if we complete the flashes paths. Their meeting on $\cM$ is an event, and as such cannot change according the frame we use for our measurements. In words, the times of arrival of both flashes in $\cM$ stay always the same, i.e. the red figure is a closed polygon. Its sides are at 45$^\circ$, then the polygon is a rectangle
(no longer a diamond, i.e. a square). This ensures us that diagonal $\RA\RB$ makes with $x$-axis the same angle as $\rE\rF$ makes with $t$-axis. (Going on, we could compute the delay of $\RA$ wrt $\RB$.)
Up to now I assumed light source were standing on the train, as well as mirrors reflecting the flashes. What about the opposite situation, when source and mirrors stand still on station's platform?
You have only to interchange roles between $\tt S$ and $\tt T$ i.e. exchange the figure labels, with no change in events names. To be precise, if train goes right wrt station, the station goes left wrt train. Then the slanted lines $\cA$, $\cB$,$\cM$ in the second figure should slant in the opposite direction. As a consequence, events $\RA$, $\RB$, now simultaneous in $\tt S$, aren't so in $\tt T$: $\RA$ precedes $\RB$. And that's all.