In general:
- Compute the time to fall from h0 =(1/2) * a * tmax^2
- Compute the distance from xmax = v0x * tmax
See my attached projectile demo. It gives you control over every parameter and computes practically everything you could possibly ever want to know about the projectile (velocities, distances, etc.). Below is some of what it tells you:
Just enter in the parameters in the dialog box when it asks you for them.