Δv=-5m/s - 5m/s=-10m/s
a=Δv/t=-10m/s / 1s = -10m/s^2
Direction will get reversed when v is 0, which is at t=1/2
Distance from when it started to decelerate to 0 is d=vt+a/2t^2=5*1/2-10/2*1/4=5/4. Distance in the opposite direction is the same, so total distance will be 5/4+5/4=5/2=2.5 m.