We all know that,
v2-u2=2as or v2=u2+2as -----> (1)
a=v2-u2/2s
Now for the mid-point of the train
s1=s/2
a1=v12-u2/2s1
a1=v12-u2/2s/2
a1=v12-u2/s or v12=u2 + as ----> (2)
from (1) and (2) you will get
as= v2-u2/2
v12=u2 + as
v12= v2+u2 /2
put u =36 and v = 72