How do you find the general solution for #sinx = cos3x #?