"2 km/hr/s" means that in each second, its engines can increase its speed by 2 km/hr.
If it keeps doing that for 30 seconds, its speed has increased by 60 km/hr.
On top of the initial speed of 20 km/hr, that's 80 km/hr at the end of the 30 seconds.
This whole discussion is of speed, not velocity. Surely, in high school physics,
you've learned the difference by now. There's no information in the question that
says anything about the train's direction, and it was wrong to mention velocity in
the question. This whole thing could have been taking place on a curved section
of track. If that were the case, it would have taken a team of ace engineers, cranking
their Curtas, to describe what was happening to the velocity. Better to just stick with
speed.