a: \(P=\left(\dfrac{2}{\sqrt{x}-1}+\dfrac{\sqrt{x}}{\sqrt{x}+1}\right)\cdot\dfrac{\sqrt{x}}{x+\sqrt{x}+2}\)
\(=\dfrac{2\sqrt{x}+2+x-\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\cdot\dfrac{\sqrt{x}}{x+\sqrt{x}+2}\)
\(=\dfrac{\sqrt{x}}{x-1}\)
\(P=\left(\dfrac{2}{\sqrt{x}-1}+\dfrac{\sqrt{x}}{\sqrt{x}+1}\right).\dfrac{\sqrt{x}}{x+\sqrt{x}+2}\)
\(\Rightarrow P=\dfrac{2\left(\sqrt{x}+1\right)+\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}.\dfrac{\sqrt{x}}{x+\sqrt{x}+2}\)
\(\Rightarrow P=\dfrac{x+\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}.\dfrac{\sqrt{x}}{x+\sqrt{x}+2}\)
\(\Rightarrow P=\dfrac{\sqrt{x}}{x-1}\)
\(\Rightarrow P=\dfrac{\sqrt{3+2\sqrt{2}}}{3+2\sqrt{2}-1}\)
\(\Rightarrow P=\dfrac{\sqrt{\left(\sqrt{2}+1\right)^2}}{2+2\sqrt{2}}\)
\(\Rightarrow P=\dfrac{\sqrt{2}+1}{2\left(\sqrt{2}+1\right)}\)
\(\Rightarrow P=\dfrac{1}{2}\)