This is LaTeX code:
[latex]
1 - sin2x = sin^2x - 2sinxcosx + cos^2x = (cosx - sinx)^2
[/latex]