The answer would be 25cm/s
To find the answer you should know the total distance and the total time and divide it.
In this situation you are given or the distance and the time is already given so the thing you should do is to divide it like this.
50cm/2s.
so you will get an answer of 25cm/s