Concept:
Use equations of motion for uniformly accelerated motion:
\[
v^2 = u^2 + 2as, \quad v = u + at
\]
Step 1: Write given values.
\[
u = 20 \, \text{m/s}, \quad v = 0, \quad s = 25 \, \text{m}
\]
Step 2: Find acceleration using first equation.
\[
0 = (20)^2 + 2a(25)
\Rightarrow 0 = 400 + 50a
\Rightarrow a = -8 \, \text{m/s}^2
\]
Step 3: Find time using second equation.
\[
0 = 20 - 8t
\Rightarrow t = \frac{20}{8} = 2.5 \, \text{s}
\]
Step 4: Conclusion.
\[
\boxed{2.5 \, \text{s}}
\]