form and solve a quadratic equation using the quadratic formula