\(M=\left(\dfrac{3}{\sqrt{x}+3}+\dfrac{x+9}{x-9}\right):\left(\dfrac{2\sqrt{x}-5}{x-3\sqrt{x}}-\dfrac{1}{\sqrt{x}}\right)\)
\(=\dfrac{3\sqrt{x}-9+x+9}{x-9}:\dfrac{2\sqrt{x}-5-\sqrt{x}+3}{\sqrt{x}\left(\sqrt{x}-3\right)}\)
\(=\dfrac{x+3\sqrt{x}}{x-9}\cdot\dfrac{\sqrt{x}\left(\sqrt{x}-3\right)}{\sqrt{x}-2}\)
\(=\dfrac{x\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)\left(\sqrt{x}-2\right)}=\dfrac{x}{\sqrt{x}-2}\)