Hello!
First, let's imagine this situation below:
We can solve it using the formula of the velocity, look:
[tex]\begin{gathered} \boxed{v=\frac{\Delta s}{\Delta t}} \\ \\ 5=\frac{20-0}{\Delta t}\rightarrow\frac{5}{1}=\frac{20}{\Delta t}\rightarrow5\Delta t=20 \\ \\ \Delta t=\frac{20}{5} \\ \\ \Delta t=5\text{ seconds} \end{gathered}[/tex]5 seconds.