First calculate how long it will take for the ball to fall
It was elevation of 5m
since
d(distance)=1/2× a(acceleration)×t2
5= 1/2×9.8×t2
t=1.02 s
for horizontal movement
d(distance)=V(velocity)×t
so
20=V×1.02
so
V=19.6 m/s