Setting up projectile motion equations with initial vertical velocity solved using the quadratic formula