\(\left(x-1\right)\left(x-3\right)+2\sqrt{x^2-4x+9}-9=0\\ \Leftrightarrow x^2-4x-6+2\sqrt{x^2-4x+9}=0\\ \Leftrightarrow t^2-15+2t=0\left(t=\sqrt{x^2-4x+9}\right)\\ \Leftrightarrow\left[{}\begin{matrix}t=3\\t=-5\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=0\\x=4\end{matrix}\right.\)