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