a: \(A=\left(3+\sqrt{5}\right)\left(\sqrt{5}-1\right)\cdot\sqrt{6-2\sqrt{5}}\)
\(=\left(3+\sqrt{5}\right)\left(6-2\sqrt{5}\right)\)
\(=18-6\sqrt{5}+6\sqrt{5}-10=8\)
b: \(B=\left(\sqrt{5}+\sqrt{3}\right)\cdot\sqrt{2}\cdot\left(\sqrt{5}-\sqrt{3}\right)\)
\(=2\left(5-3\right)=2\cdot2=4\)