Hi

Can someone tell me how i can solve the following:

1)Solve $\displaystyle x+iy=(2y+1)+(x-7)i$ for real values x and y.

This is what i have done:

$\displaystyle x+iy=2y+1+ix-7i$

$\displaystyle 7i-1=y(2+i)+x(i-1)$

2)Solve $\displaystyle 2x+(y+4)i=(3+2i)(2-i)$ for real values x and y.

P.S