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