1) Ta có: \(P=\left(\dfrac{\sqrt{x}}{2\sqrt{x}-2}+\dfrac{3-\sqrt{x}}{2x-2}\right):\left(\dfrac{\sqrt{x}-1}{x+\sqrt{x}+1}+\dfrac{\sqrt{x}+2}{x\sqrt{x}-1}\right)\)
\(=\left(\dfrac{\sqrt{x}}{2\left(\sqrt{x}-1\right)}+\dfrac{3-\sqrt{x}}{2\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right):\left(\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}+\dfrac{\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\)
\(=\left(\dfrac{\sqrt{x}\left(\sqrt{x}+1\right)}{2\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\dfrac{3-\sqrt{x}}{2\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right):\left(\dfrac{x-2\sqrt{x}+1+\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\right)\)
\(=\dfrac{x+\sqrt{x}+3-\sqrt{x}}{2\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}:\dfrac{x-\sqrt{x}+3}{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}\)
\(=\dfrac{x+3}{2\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\cdot\dfrac{\left(\sqrt{x}-1\right)\left(x+\sqrt{x}+1\right)}{x-\sqrt{x}+3}\)
\(=\dfrac{\left(x+3\right)\left(x+\sqrt{x}+1\right)}{2\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+3\right)}\)