a: \(A=\sqrt{\dfrac{3\sqrt{3}-4}{2\sqrt{3}+1}}-\sqrt{\dfrac{4+\sqrt{3}}{5-2\sqrt{3}}}\)
\(=\sqrt{2-\sqrt{3}}-\sqrt{2+\sqrt{3}}\)
\(=\dfrac{\sqrt{4-2\sqrt{3}}-\sqrt{4+2\sqrt{3}}}{\sqrt{2}}\)
\(=\dfrac{\sqrt{3}-1-\sqrt{3}-1}{\sqrt{2}}=-\sqrt{2}\)
b: \(B=\dfrac{x\sqrt{x}-2x+28}{\left(\sqrt{x}-4\right)\left(\sqrt{x}+1\right)}-\dfrac{x-16}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-4\right)}-\dfrac{\left(\sqrt{x}+8\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-4\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x\sqrt{x}-2x+28-x+16-x-9\sqrt{x}-8}{\left(\sqrt{x}-4\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x\sqrt{x}-4\sqrt{x}-9\sqrt{x}+36}{\left(\sqrt{x}-4\right)\left(\sqrt{x}+1\right)}=\dfrac{x-9}{\sqrt{x}+1}\)