a: \(P=\left(\dfrac{x-2}{x+2\sqrt{x}}+\dfrac{1}{\sqrt{x}+2}\right)\cdot\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\)
\(=\left(\dfrac{x-2}{\sqrt{x}\left(\sqrt{x}+2\right)}+\dfrac{1}{\sqrt{x}+2}\right)\cdot\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\)
\(=\dfrac{x+\sqrt{x}-2}{\left(\sqrt{x}+2\right)\cdot\sqrt{x}}\cdot\dfrac{\sqrt{x}+1}{\sqrt{x}-1}\)
\(=\dfrac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)}\cdot\dfrac{\sqrt{x}+1}{\sqrt{x}}=\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
b: \(2P=2\sqrt{x}+5\)
=>\(\dfrac{2\sqrt{x}+2}{\sqrt{x}}=2\sqrt{x}+5\)
=>\(2x+5\sqrt{x}-2\sqrt{x}-2=0\)
=>\(2x+3\sqrt{x}-2=0\)
=>\(\left(\sqrt{x}+2\right)\left(2\sqrt{x}-1\right)=0\)
=>\(2\sqrt{x}-1=0\)
=>\(\sqrt{x}=\dfrac{1}{2}\)
=>x=1/4(nhận)