a: \(P=\dfrac{x+\sqrt{x}-x-2}{\sqrt{x}+1}:\dfrac{x-\sqrt{x}+\sqrt{x}-4}{x-1}\)
\(=\dfrac{\sqrt{x}-2}{\sqrt{x}+1}\cdot\dfrac{x-1}{x-4}=\dfrac{\sqrt{x}-1}{\sqrt{x}+2}\)
b: Để P=1/2 thì \(\dfrac{\sqrt{x}-1}{\sqrt{x}+2}=\dfrac{1}{2}\)
\(\Leftrightarrow2\sqrt{x}-2=\sqrt{x}+2\)
=>x=16