Hello everyone I was wondering if you could help me out with a couple trigonometry problems. For the first one I attempted it and got stuck. For the second one, are you supposed to set the real part on left to the real part on right, and the imaginary part on the left to the imaginary part on the right?

e.g. on left side: real part = sin(x) imaginary part = cos(y). On right side: real part =-cos(x) imaginary part = -1

So if I were to set them equal to each other it would look like:

real parts: sin(x) = -cos(x) and imaginary parts: cos(y) = -1

answer for real parts would be 3pi/4 or 7pi/4 . Except with the given range, it would have to be 7pi/4. (x =7pi/4)

answer for imaginary parts would be pi. (y = pi)

Is this correct?