It depends on both of them.
In fact, the projectile begins its motion with an initial velocity of

and an angle of

. On the y-axis (vertical direction), it is an accelerated motion with acceleration equal to -g (gravitational acceleration). The vertical velocity of the projectile at any time t is given by

and as it can be seen, this depends on both initial velocity and angle.
Unlike acceleration and velocity, speed does not need to specify the direction of motion. Speed is a scalar quality.
Answer:
in 1 second 3m, in 2 seconds 6m, in 3 seconds 9m.
Explanation:
distance=speed × time