Use the equation of Lorentz force to calculate the field vector.
Quoting from this link,
If a particle of charge $q$ moves with velocity $v$ in the presence of an electric field $E$ and a magnetic field $B$, then it will experience a force
$$\mathbf{F} = q\left[\mathbf{E} + (\mathbf{v} \times \mathbf{B})\right]$$
In your case, there is no electric field. So calculate accordingly.
Given: $B_x=0$
Take $B_y$ and $B_z$ to be the other components. Calculate the cross product and then compare the coefficients of the unit vectors, to get the answer.
Hope it helps.