\(a^2=4+\sqrt{10+2\sqrt{5}}+4-\sqrt{10+2\sqrt{5}}+2\cdot\sqrt{16-10-2\sqrt{5}}\)
\(=8+2\left(\sqrt{5}-1\right)=6+2\sqrt{5}\)
hay \(a=\sqrt{5}+1\)
\(T=\dfrac{\left(6+2\sqrt{5}\right)^2-4\cdot\left(16+8\sqrt{5}\right)+6+2\sqrt{5}+6\sqrt{5}+6+4}{6+2\sqrt{5}-2\sqrt{5}-2+12}\)
\(=\dfrac{56+24\sqrt{5}-50-24\sqrt{5}}{16}=\dfrac{6}{16}=\dfrac{3}{8}\)