Assume that harold three ball horizontally.
Time of flight, t = time to fall through height of 2m with starting vertical velocity of 0.
h = 0t + 1/2gt2 => t=√(2h/g) = 0.639 s
In the horizontal direction, the ball covers 3 m in 0.639 s at constant speed.
Speed of throw = 3m/0.639 s = 4.69 m/s