How do you find the general solutions for #sinx = cos2x - 1#?