x=ut\cos\alpha \Rightarrow t=\frac{\sqrt{u^2 - 2gh}}{g\cos\alpha}