@gulamjilani
here is a similar question
An electron enters with a velocity v = v0i into a cubical region (face parallel to coordinate planes) in which there are uniform electric and magnetic fields. The orbit of the electron is found to spiral down inside the cube in a plane parallel to the x-y plane. Suggest a configuration to fields E and B that can lead to it.
Let us consider a magnetic field B = B0 present in the region and an electron enters with a velocity into cubical region (faces parallel to coordinate planes). The force on electron, using magnetic Lorentz force, is given by
which revolves the electron in x-y plane.
The electric force F = eE0j accelerates e along z-axis which in turn increases the radius of circular path and hence particle traversed on spiral path.