\(B=\dfrac{2}{\sqrt{x}-3}+\dfrac{2\sqrt{x}}{x-4\sqrt{x}+3}+\dfrac{\sqrt{x}}{\sqrt{x}-1}\)
\(=\dfrac{2\sqrt{x}-2+2\sqrt{x}+x-3\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}-3\right)}\)
\(=\dfrac{\sqrt{x}+2}{\sqrt{x}-3}\)
Để B nguyên thì \(\sqrt{x}-3\in\left\{1;-1;5\right\}\)
\(\Leftrightarrow\sqrt{x}\in\left\{4;2;8\right\}\)
hay \(x\in\left\{16;4;64\right\}\)