\(a)A=\dfrac{5+3\sqrt{5}}{\sqrt{5}}+\dfrac{3+\sqrt{3}}{\sqrt{3}+1}-\left(\sqrt{5}+3\right)\\ =\dfrac{\sqrt{5}\left(\sqrt{5}+3\right)}{\sqrt{5}}+\dfrac{\sqrt{3}\left(\sqrt{3}+1\right)}{\sqrt{3}+1}-\left(\sqrt{5}+3\right)\\ =\sqrt{5}+3+\sqrt{3}-\left(\sqrt{5}+3\right)\\ =\sqrt{3}\)
\(b)B=\left(5+\sqrt{21}\right)\left(\sqrt{14}-\sqrt{6}\right)\sqrt{5-\sqrt{21}}\\ =\left(5+\sqrt{21}\right)\left(\sqrt{7}-\sqrt{3}\right)\sqrt{10-2\sqrt{21}}\\ =\left(5+\sqrt{21}\right)\left(\sqrt{7}-\sqrt{3}\right)\sqrt{\left(\sqrt{7}-\sqrt{3}\right)^2}\\ =\left(5+\sqrt{21}\right)\left(\sqrt{7}-\sqrt{3}\right)^2\\ =\left(5+\sqrt{21}\right)\left(10-2\sqrt{21}\right)\\ =2\left(5+\sqrt{21}\right)\left(5-\sqrt{21}\right)\\ =2\left(25-21\right)=8\)