a) \(A=\left(1+\dfrac{\sqrt{3}\left(\sqrt{3}-1\right)}{\sqrt{3}-1}\right)\left(\dfrac{\sqrt{3}\left(\sqrt{3}+1\right)}{\sqrt{3}+1}-1\right)\)
\(=\left(1+\sqrt{3}\right)\left(\sqrt{3}-1\right)\)
\(=3-1=2\)
b) \(B=\dfrac{\sqrt{3}+\sqrt{2}-\sqrt{3}+\sqrt{2}}{\left(\sqrt{3}-\sqrt{2}\right)\left(\sqrt{3}+\sqrt{2}\right)}\)
\(=\dfrac{2\sqrt{2}}{3-2}=2\sqrt{2}\)