\(=>M^2=4-\sqrt{10-2\sqrt{5}}+2\sqrt{\left(4-\sqrt{10-2\sqrt{5}}\right)\left(4+\sqrt{10-2\sqrt{5}}\right)}\)
\(+4+\sqrt{10-2\sqrt{5}}\)
\(M^2=8+2\)\(\sqrt{16-\left(\sqrt{10-2\sqrt{5}}\right)^2}\)\(=8+2\sqrt{16-10+2\sqrt{5}}\)
\(=>M^2=8+2\sqrt{6+2\sqrt{5}}=8+2\sqrt{\left(\sqrt{5}+1\right)^2}=8+2\sqrt{5}+2\)
\(=10+2\sqrt{5}\)
\(=>M=\sqrt{10+2\sqrt{5}}\)