No, we presume the ground is horizontal, so it lands when $x=0$. You need to find $z(t)$. There will be two roots to $z(t)=0$. One will be $t=0$ as it started at zero elevation. The other is the one you want. If you write the equation, $z$ will be quadratic in time, so you use the quadratic formula to find the root.