a: ĐKXĐ: \(\left\{{}\begin{matrix}x>=0\\x\notin\left\{4;1\right\}\end{matrix}\right.\)
Ta có: \(A=\dfrac{x-4\sqrt{x}+3-\left(2x-4\sqrt{x}-\sqrt{x}+2\right)+x+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-1\right)}\)
\(=\dfrac{2x-4\sqrt{x}+5-2x+5\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-1\right)}\)
\(=\dfrac{\sqrt{x}+3}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-1\right)}\)