Answer
So the Final value of x is =$\frac{3\pi}{4}$ or x=$\frac{7\pi}{4}$
And the
value of y = $\pi$
Work Step by Step
So let's see the steps to get the final answer
$\sin$ x + i $cos$ y = - $cos$ x i
By comparing both the side term, We get
-$cos $ x=$sin$ x , y=-1
=> $tan$ x= -1 , $\cos$ y =1
x =$\frac{3\pi}{4}$ or x=$\frac{7\pi}{4}$
y = $\pi$