\(P=\left(\dfrac{\sqrt{x}}{3+\sqrt{x}}+\dfrac{2x}{9-x}\right):\left(\dfrac{\sqrt{x}-1}{x-3\sqrt{x}}-\dfrac{2}{\sqrt{x}}\right)\)
\(=\dfrac{\sqrt{x}\left(\sqrt{x}-3\right)-2x}{x-9}:\dfrac{\sqrt{x}-1-2\sqrt{x}+6}{\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}+5}\)
\(=\dfrac{-\sqrt{x}\left(\sqrt{x}+3\right)\cdot\sqrt{x}\left(\sqrt{x}-3\right)}{\left(x-9\right)\left(-\sqrt{x}+5\right)}=\dfrac{-x}{-\sqrt{x}+5}\)
\(A=\left(\dfrac{\sqrt{x}-2}{\sqrt{x}+5}+\dfrac{\sqrt{x}}{\sqrt{x}-5}+\dfrac{x+9}{25-x}\right):\dfrac{1-\sqrt{x}}{5+\sqrt{x}}\)
\(=\dfrac{x-7\sqrt{x}+10+x+5\sqrt{x}-x-9}{\left(x-25\right)}\cdot\dfrac{\sqrt{x}+5}{1-\sqrt{x}}\)
\(=\dfrac{x-2\sqrt{x}+1}{\left(\sqrt{x}-5\right)\left(1-\sqrt{x}\right)}=\dfrac{1-\sqrt{x}}{\sqrt{x}-5}\)
\(B=\left(\dfrac{1}{x-4}-\dfrac{1}{x-4\sqrt{x}+4}\right):\dfrac{\sqrt[2]{x}}{2\sqrt{x}-x}\)
\(=\dfrac{\sqrt{x}-2-\sqrt{x}-2}{\left(\sqrt{x}-2\right)^2\left(\sqrt{x}+2\right)}\cdot\dfrac{-\sqrt{x}\left(\sqrt{x}-2\right)}{\sqrt{x}}\)
\(=\dfrac{-4}{x-4}\)