You can put this solution on YOUR website! cos 2x - sin x
cos(2x)=1-2 sin^2 x
Therefore we have 1-2sin^2x-sinx
That is -(2sin^2 x+sin x-1)=-(2sin x-1)(sin x+1).
Not clear if that answers the question or whether both sin x and cos x have to be present.
cos (2x)=2 cos^2 x -1
Then it is 2 cos^2x -sin x-1