Solve quadratics by finding square roots