a ) ĐK : \(\left\{{}\begin{matrix}x\ge0\\x\ne1\end{matrix}\right.\)\(P=\left(\dfrac{1}{\sqrt{x}+1}-\dfrac{2\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+1\right)^{^2}\left(\sqrt{x}-1\right)}\right):\left(\dfrac{1}{\sqrt{x}-1}+\dfrac{2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\right)\)
\(=\dfrac{x-1-2\sqrt{x}+2}{\left(\sqrt{x}+1\right)^2\left(\sqrt{x}-1\right)}:\dfrac{\sqrt{x}+3}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(=\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}+1\right)^2\left(\sqrt{x}-1\right)}.\dfrac{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}{\sqrt{x}+3}\)
\(=\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{x-2\sqrt{x}+1}{x+4\sqrt{x}+3}\)