For the first one, I'd make a substitution with u=cos(x).
As cos²(x)+sin²(x)=1, sin(x)=sqrt(1-cos²(x))=sqrt(1-u²)
Thus we have
Square the whole equation and solve for u, then deduct the values for x.
For the second one :
So it's equivalent to :