\(C=\dfrac{\sqrt{10}-\sqrt{5}+2\sqrt{2}+\sqrt{5}-\sqrt{10}-1}{2\sqrt{2}+2+2\sqrt{2}-1+2\sqrt{2}+2}\)
\(=\dfrac{2\sqrt{2}-1}{6\sqrt{2}+3}=\dfrac{9-4\sqrt{2}}{21}\)
\(B=\dfrac{40}{6+2\sqrt{5}+\sqrt{4\sqrt{5}+4}}\)
\(=\dfrac{40}{\left(\sqrt{5}+1\right)^2+2\sqrt{\sqrt{5}+1}}\)
\(=\dfrac{40}{\sqrt{\sqrt{5}+1}\left(\sqrt{\sqrt{5}+1}+2\right)}\)
\(=\dfrac{40\sqrt{\sqrt{5}-1}}{2\left(\sqrt{\sqrt{5}+1}+2\right)}\)
\(=\dfrac{20\left(\sqrt{\sqrt{5}-1}\right)\left(\sqrt{\sqrt{5}+1}-2\right)}{\sqrt{5}+1-4}\)
\(=\dfrac{20\left(\sqrt{\sqrt{5}-1}\right)\left(\sqrt{\sqrt{5}+1}-2\right)}{-3+\sqrt{5}}\)
\(=-5\left(3+\sqrt{5}\right)\left(\sqrt{\sqrt{5}-1}\right)\left(\sqrt{\sqrt{5}+1}-2\right)\)