The correct option is C 12(1−4i)
in given equation left side is always positive and real than right side must be real
let take z=x+iy
in right side imaginary part is
y+2=0,y=−2
|x−2i+1|=x+2
On squaring we get,
(x+1)2+4=(x+2)2
⇒2x+5=4x+4
⇒x=12
z=12−2i
Hence, option C is correct.