..Find "x" and "Y" if

1) 2(x+yi) = x-yi

Mr F says: Expand and equate the real and imaginary parts on each side:

2x + 2yi = x - yi. Therefore

Equate real parts: 2x = x .... (1)

Equate imaginary parts: 2y = -y .... (2)

Therefore x = y = 0.

2) (X+2i)(1-i) = 5+yi

Mr F says: Use the same approach as above.

Thanks, please also do the process of getting the answer not just the answer.