How do I work this problem, it is not a homework problem but a problem similar to a homework problem. I know i need to factor the left side of the problem. here is what I have so far..

x^2-2x+1=7
x^2-2x+1-7=7-7
x^2-2x-6=0
here is where I run into an issue, I can not seem to fatctor it down.