\(a.B=\left(\sqrt{5}-1\right)\sqrt{6+2\sqrt{5}}=\left(\sqrt{5}-1\right)\sqrt{5+2\sqrt{5}+1}=\left(\sqrt{5}-1\right)\left(\sqrt{5}+1\right)=5-1=4\)
\(b.A=\dfrac{1}{\sqrt{2}+1}-\dfrac{\sqrt{8}-\sqrt{10}}{2-\sqrt{5}}=\dfrac{1}{\sqrt{2}+1}-\dfrac{\sqrt{2}\left(2-\sqrt{5}\right)}{2-\sqrt{5}}=\dfrac{1}{\sqrt{2}+1}-\sqrt{2}=\dfrac{-1-\sqrt{2}}{\sqrt{2}+1}=-1\)