Rationalise each fraction by multiplying by the conjugate of its denominator:
1+ix=(1+i)(1−i)x(1−i)=2x(1−i)
2−iy=(2−i)(2+i)y(2+i)=5y(2+i)
So the equation becomes
(2x+52y)+i(−2x+5y)=3+0i
(1 mark)
Equate real and imaginary parts:
2x+52y=3,−2x+5y=0
Adding the two equations, 53y=3, so y=5. Then 2x=5y=1, so x=2.
Check: 1+i2+2−i5=(1−i)+(2+i)=3.
So x=2 and y=5. (1 mark)