how to solve quadratic equation complating the square ?