I am assuming the train is starting from rest.
Looking at the front of the train, it needs to cover 100 meters to reach the post
using x = 0.5 a t2 we get 100 = (0.5)(0.5)(t2) which gives a time of 20 seconds
The back of the train has the same acceleration but must cover 144 meters
We get 144 = (0.5)(0.5)(t2) which gives a time of 24 seconds
Therefore the time interval is 24-20 = 4 seconds
For the speed for the front we use v = (0.5)(20) = 10 m/s
For the back of the train we use v = (0.5)(24) = 12 m/s