You can put this solution on YOUR website! (sin x + cos x)^2
Using the FOIL Method, FOIL method.
You know the following trig identity,
Substitute that in your equation,
Another indentity (fundamental identity, I think) is,
Substitute that into your equation,