All answers are assuming no air resistance.
a. You can use the equation s = ut + (1/2)at^2 to solve the first part.
as the initial vertical velocity is 0, ut = 0. Therefore, h = (1/2)gt^2.
Therefore t = (2gh)^(1/2).
b. Given that the ball does not slow down while in the air the ball will remain at a constant velocity, therefore x = ut, therefore u = x/((2gh)^(1/2))
There are you answers, I hope that helps