a) 4=1/2*(-9.8)*t2+Vv*t and b) 20=Vh*t.
Since we need to detrmine Vh, Vv and t, we need more information. The ball clears the wall at its maximum height, meaning that c) Vv-9.8*t=0 at time=t, or Vv=9.8*t
Now let's put 9.8*t in for Vv in equation a)
4=1/2*(-9.8)t2+9.8*t2
4=-4.9t2+9.8t2=4.9*t2
t2=4/4.9
t=0.9 seconds
Now put 0.9s in for t in a) and b) to get Vv and Vh 4=-4.49*.81+.9*Vv
Vv=(4+3.64)/.9=8.49m.s
20=Vh*.9
Vh=20/.9=22.2m/s
Initial speed is the square root of the sum of Vh2 and Vv2
speed=(22.22+8.492)^.5=23.7m/s
This information is brought to you by M. Casco Associates, a company dedicated to helping humankind reach the stars through understanding how the universe works. My name is James D. Jones. If I can be of more help, please let me know. JDJ