boy throws the ball with speed 20 m/s at an angle 40 degree
so the components are given as
[tex]v_x = 20cos40 = 15.3 m/s[/tex]
[tex]v_y = 20 sin40 = 12.8 m/s[/tex]
now the time taken by the ball to drop down by 5 m is given as
[tex]y =vy*t + \frac{1}{2}gt^2[/tex]
[tex]5 =12.8*t + \frac{1}{2}*9.8*t^2[/tex]
now by solving above quadratic equation we have
[tex]t = 0.345 s[/tex]
now in the same time the distance traveled horizontally is given as
[tex]d = v_x * t[/tex]
[tex]d = 15.3* 0.345 = 5.3 m[/tex]
so it will cover 5.3 m horizontally while it is dropped down by distance 5 m and it will take 0.345 s for the whole.