\(Q=\dfrac{\sqrt{x}-3}{\sqrt{x}-1}=\dfrac{\sqrt{x}-1-2}{\sqrt{x}-1}=1-\dfrac{2}{\sqrt{x}-1}\)
\(\Rightarrow\sqrt{x}-1=Ư\left(2\right)=\left\{-2;-1;1;2\right\}\)
\(\Rightarrow\left[{}\begin{matrix}\sqrt{x}-1=-2\\\sqrt{x}-1=-1\\\sqrt{x}-1=1\\\sqrt{x}-1=2\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}\sqrt{x}=-1\left(vn\right)\\\sqrt{x}=0\\\sqrt{x}=2\\\sqrt{x}=3\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}x=0\\x=4\\x=9\end{matrix}\right.\)