Answer
$x\approx 1.22$ seconds
Work Step by Step
$$h=-16x^2+24$$
When hitting to the ground, $h$ becomes zero:
$$0=-16x^2+24$$
$$16x^2=24$$
$$x^2=\frac{24}{16}=\frac{3}{2}$$
$$x=\pm\sqrt{\frac{3}{2}}\approx \pm 1.22$$
Take the positive value:
$$x\approx 1.22\text{ seconds}$$