Solve the given trigonometric function.
=cosx−sinx1+sin2x
=cosx−sinxsin2x+cos2x+2sinxcosx
=cosx−sinx(cosx+sinx)2
Hence,this is the answer.