Under the influence of magnetic field only, speed and hence, kinetic energy remains constant.
So →F⋅→v=0⇒m→a⋅→v=0
⇒m(2^i+x^j)⋅(3^i+4^j)=0
⇒6+4x=0⇒x=−1.5
Let the magnetic field is →B=a^i+b^j+c^k, then from →F=q→v×→B
⇒m(2^i+x^j)=q(3^i+4^j)×(a^i+b^j+c^k)
⇒2m^i−1.5m^j=q(3b^k−3c^j−4a^k+4c^i)
4c=2m⇒c≠0
Hence, magnetic field has a component along z-direction.