a:\(B=\dfrac{x+3\sqrt{x}+2\sqrt{x}-24}{x-9}=\dfrac{\left(\sqrt{x}+8\right)\left(\sqrt{x}-3\right)}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)}=\dfrac{\sqrt{x}+8}{\sqrt{x}+3}\)
b: \(P=A\cdot B=\dfrac{7}{\sqrt{x}+3}\)
Để P là số nguyên thì \(\sqrt{x}+3=7\)
hay x=16