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