use this equation a^2-b^2 = (a-b)(a+b)
\(x^2-2x-1 = x^2-2x+1-2\) = \((x-1)^2-\sqrt{2}^2 = (x-1+\sqrt{2})(x-1-\sqrt{2})\)
thus, x = 1+\sqrt{2} and 1-\sqrt{2}
\(x^2-2x-1 = x^2-2x+1-2\) = \((x-1)^2-\sqrt{2}^2 = (x-1+\sqrt{2})(x-1-\sqrt{2})\)
thus, x = 1+\sqrt{2} and 1-\sqrt{2}



.jpg)




