In order to calculate the distance the train will move, we can use the formula below:

Where V0 is the initial speed, t is the time and a is the acceleration.
Since the initial speed is 26 m/s and the train acceleration is -1 m/s², the train will completely stop after 26 seconds. In the remaining 26 seconds to complete the total of 52, the train will be stopped already, so there is no displacement.
Because of that, we will use a time t = 26 seconds.
So, using V0 = 26 m/s and a = -1 m/s², we have:

Therefore the train will move 338 meters.