How do you solve x^2-2x+6=0 by completing the square?