Cho biểu thức P = \(\dfrac{3\left(x+2\sqrt{x}\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+2\right)}-\dfrac{\sqrt{x}+2}{\sqrt{x}-1}-\dfrac{\sqrt{x}+1}{\sqrt{x}+2}\) ( với x ≥ 0; x ≠ 1 )
a,Rút gọn biểu thức P
b,Tính giá trị của P khi x = \(6-2\sqrt{5}\)