\[\left( \sqrt{10} + \sqrt{8} \right)^{2} =\]
\[= 10 + 2\sqrt{10 \cdot 8} + 8 =\]
\[= 18 + \sqrt{16 \cdot 5} = 18 + 4\sqrt{5}.\]