write the equation of trajectory of projectile motion