\(P=A:B=\dfrac{\sqrt{x}-1}{\sqrt{x}+2}:\left(\dfrac{x}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}-\dfrac{\sqrt{x}+3}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-2\right)}\right)\)
\(=\dfrac{\sqrt{x}-1}{\sqrt{x}+2}:\left(\dfrac{x}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}-\dfrac{1}{\sqrt{x}-2}\right)\)
\(=\dfrac{\sqrt{x}-1}{\sqrt{x}+2}:\dfrac{x-\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}\)
\(=\dfrac{\sqrt{x}-1}{1}\cdot\dfrac{\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}=\dfrac{\sqrt{x}-1}{\sqrt{x}+1}\)