Projectile motion can be described in two dimensions. A projectile of mass m launched at an angle θ and with an initial speed vo, is subjected to gravitational force in the vertical (towards the ground) direction and zero force in the horizontal direction. The distance travelled is given by –
$$ x = v_o cos\theta *t \\ y = \frac{1}{2}gt^2 + v_o sin\theta * t $$