Since the train has uniform acceleration, we know,
v2=u2+2 al ( l=length of train ),
so the acceleration of the train can be found out using this, so, a =v2−u22l.
For the central point to find the velocity:
s or the displacement will be half the length of the train that is 'l' at the midpoint and velocity at the midpoint will be vm.
So, v2m=u2+2al2⇒v2m−u2=al
v2m−u2=v2−u22⇒v2m=v2+u22
vm=√v2+u22