Với \(x\ge0;x\ne4\)
\(=\dfrac{\sqrt{x}\left(\sqrt{x}+2\right)+\left(\sqrt{x}-1\right)\left(\sqrt{x}-2\right)-3\sqrt{x}+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}.\dfrac{x-4}{\sqrt{x}-2}\)
\(=\dfrac{x+2\sqrt{x}+x-2\sqrt{x}-\sqrt{x}-2-3\sqrt{x}+2}{x-4}.\dfrac{x-4}{\sqrt{x}-2}\)
\(=\dfrac{2x-4\sqrt{x}}{x-4}.\dfrac{x-4}{\sqrt{x}-2}\)
\(=\dfrac{2\sqrt{x}\left(\sqrt{x}-2\right)}{\sqrt{x}-2}=2\sqrt{x}\)