Assume air resistance is negligible. The speed v is 5 m/s. This is a result from the Law of Conservation of Energy.
Since the levels at the starting point and end point are the same, the potential energies at these two points are equal. Because the sum of kinetic and potential energies at any point on the projectile path is constant (Law of Conservation of Mechanical Energy), equal potnetial energy at the starting and end points indicates equal kinetic energy. Hence, the speeds of the ball are equal.