Prove the identity

(sinx+cosx)^2 = 1+sin2x

Thank you

(sinx+cosx)^2 = sin^2 x + 2 sinx cosx + cos^2 x

now recall the most fundamental of your trig identities, and the double-angle formulas.