If X,y,a and b are real numbers and if x+yi = a/b+cosp+isinp , show that (b^2-1)(x^2+y^2)+a^2 =2abx

are you missing some parentheses?