Answer:
The direction of magnetic field is along + Z axis.
Explanation:
The direction of motion of electron is along y axis.
The magnetic force is along - X axis.
The force on the charged particle moving in the magnetic field is
[tex]\overrightarrow{F} = q (\overrightarrow{v}\times \overrightarrow{B})\\\\- F \widehat{i} = - q (v \widehat{j}\times \overrightarrow{B})\\[/tex]
So, the direction of the magnetic field is along + Z axis.