Let vox andvoy respectively be the initial components of the velocity of the projectile along horizontal (x) and vertical (y) directions.
Let vx and vy respectively be the horizontal and vertical components of velocity at a point P.

Time taken by the projectile to reach point P = t
Applying the first equation of motion along the vertical and horizontal directions, we get:

