This is LaTeX code:

[latex]
(1\pm\sqrt{5})^2 = 1 \pm2\sqrt{5} + 5 = 6 \pm2\sqrt{5} = 2(3\pm\sqrt{5})
[/latex]