We know that the average velocity for a moving object can be written as its displacement divided by the time of the movement. This can be formalized as:
![v=(\Delta s)/(\Delta t)](https://img.qammunity.org/2023/formulas/physics/college/d8mqj11w6k17nigbpzehl3k3truplcu28q.png)
In our case, as the velocity is constant, this will not only be an average velocity, but the exact value. Replace our data we get:
![v=(10)/(5)=2(m)/(s)](https://img.qammunity.org/2023/formulas/physics/college/4j8vj4k70mf5yr7kdkatq8bsfi66bv3gj5.png)
Thus, v=2m/s