Cho biểu thức: \(P=\left(\frac{\sqrt{x}+3}{\sqrt{x}-2}+\frac{\sqrt{x}+2}{3-\sqrt{x}}+\frac{\sqrt{x}+2}{x-5\sqrt{x}+6}\right):\left(1-\frac{\sqrt{x}}{\sqrt{x}+1}\right)\)
a) Rút gọn \(P\)
b) Tìm các giá trị nguyên của \(x\) để \(P< 0\).
c) Với giá trị nào của \(x\) thì biểu thức \(\frac{1}{P}\) đạt giá trị nhỏ nhất.