2x-4+(y-3)i=1+8i what is the value of x

Solve for x: -4 + 2 x + i (y - 3) = 8 i + 1

Subtract i (y - 3) - 4 from both sides: 2 x = 5 + 8 i - i (y - 3)

Divide both sides by 2: Answer: |x = 5/2 + 4 i - 1/2 i (y - 3)

Let w=(2x-4)+(y-3)i and z=1+8i , w ,z are complex numbers

w=z

Re(w)=Re(z)=>2x-4=1=>2x=5=>x=5/2 Re is the real part of the complex number

and

Im(w)=Im(z)=>y-3=8=>y=11 Im is the imaginary part of complex number