If you know the initial direction of the projectile's velocity (a) and
the speed of the projectile in the horizontal direction (b), then from
that information, you can calculate the time the projectile stays in the
air (c) and the vertical distance the projectile travels (d).
If you're going for how far the projectile travels horizontally, then
you may not even need (d) at all.