If x=3+bi, then
You know that then
Two possible complex numbers satisfy these conditions:
As you can see the possible value of b is 2.
Answer: correct choice is A.