2 cos^2 x = 1 - sin x ???
Notice that this isn't an identity, Shades......
Look at the graph, here : https://www.desmos.com/calculator/i6af8j74gp
To be an identity, the curves would have to lie on top of each other....they are clearly separate
Maybe you copied it incorrectly???