So: the train traveled 396-252= 144 meters in 8 seconds.
So: the speed of the train is144/8 =18m/s.
So: the train length is 26* 18-396=468-396=72 meters.