Problem

Given the equation   sin2x+2sinxcosxcos2x2=0\;\sin^{2}x+2\sin x\cos x-\cos^{2}x-2=0, rewrite it in linear form in sine and cosine of the variable t=2xt=2x and solve it.