A train is traveling at a speed of 90km/hr. breaks are applied

A train is traveling at a speed of 90km/hr. breaks are applied so as to produce a uniform acceleration of -o.5meter per second square. find how far will the train go before it is brought into rest?

Initial speed, u = 90 km/h = 90 x (1000/3600) m/s = 25 m/s
final speed, v = 0 m/s
uniform acceleration, a = -0.5 m/s2
Using equation of motion: v2 = u2 + 2as
We have: 0 = (25)2 + 2x(-0.5)xs
s = 625 m
[s: distance traveled by the train after the brakes are applied and before it is finally brought into rest]