Answer:
The direction of the magnetic field should be in the x and y coordinates alone, and their should be no change towards the z coordinate. Also the magnitude of the magnetic field in the z direction would be zero if there is no magnetic field in that coordinate.
The coordinate should be:
B = bi + bj