\(A=3\sqrt{80}-2\sqrt{45}=3\sqrt{5\cdot4^2}-2\sqrt{5\cdot3^3}=12\sqrt{5}-6\sqrt{5}=6\sqrt{5}\)
\(B=\dfrac{x+\sqrt{x}}{\sqrt{x}}+\dfrac{x-4}{\sqrt{x}+2}=\dfrac{\sqrt{x}\left(\sqrt{x}+1\right)}{\sqrt{x}}+\dfrac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}{\sqrt{x}+2}=\sqrt{x}+1+\sqrt{x}-2=2\sqrt{x}-1\)