\(A=\frac{\sqrt{x}\left(\sqrt{x}+2\right)}{x-4}+\frac{\left(\sqrt{x}-1\right)\left(\sqrt{x}-2\right)}{x-4}+\frac{\sqrt{x}-10}{x-4}\)
\(A=\frac{x+2\sqrt{x}+x-3\sqrt{x}+2+\sqrt{x}-10}{x-4}\)
\(A=\frac{2x-8}{x-4}=\frac{2\left(x-4\right)}{x-4}=2\)
\(B=\left(13-4\sqrt{3}\right)\left(7+4\sqrt{3}\right)-8\sqrt{20+2\sqrt{\left(3\sqrt{3}+4\right)^2}}\)
\(B=43+24\sqrt{3}-8\sqrt{20+6\sqrt{3}+8}\)
\(B=43+24\sqrt{3}-8\sqrt{28+6\sqrt{3}}\)
\(B=43+24\sqrt{3}-8\sqrt{\left(3\sqrt{3}+1\right)^2}\)
\(B=43+24\sqrt{3}-24\sqrt{3}-8\)
\(B=35\)