\(B=\dfrac{1}{\sqrt{5}+\sqrt{7}}-\dfrac{1}{\sqrt{5}-\sqrt{7}}=\dfrac{\sqrt{5}-\sqrt{7}-\left(\sqrt{5}+\sqrt{7}\right)}{\left(\sqrt{5}+\sqrt{7}\right)\left(\sqrt{5}-\sqrt{7}\right)}\)
\(\dfrac{\sqrt{5}-\sqrt{7}-\sqrt{5}-\sqrt{7}}{\left(\sqrt{5}\right)^2-\left(\sqrt{7}\right)^2}=\dfrac{-2\sqrt{7}}{5-7}=\dfrac{-2\sqrt{7}}{-2}=\sqrt{7}\)