\(=\left(\dfrac{x+3\sqrt{x}-2}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}-\dfrac{\sqrt{x}-3}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}\right).\dfrac{\sqrt{x}-3}{\sqrt{x}+1}\)
\(=\dfrac{\left(x+2\sqrt{x}+1\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}.\dfrac{\sqrt{x}-3}{\sqrt{x}+1}\)
\(=\dfrac{\left(\sqrt{x}+1\right)^2\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}+3}\)