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