A boy stands at 40m from a building and throws a ball which just passes through a window 20m from the ground. calculate the velocity of projection of the ball.