Consider a free particle in a uniform magnetic field, Hamiltonian $H = ( \mathbf p - e \mathbf A)^2/2m$ and magnetic field in the $z$ direction.
Solving the Schrödinger equation with $\mathbf A = (-B_y,0,0)$, I get solutions $$\Psi_a(x,y) = e^{ik_xx} e^{-(y+y_k)/(2l^2)}$$ for the ground state, with $y_k = l^2 k_y $ and $l^2 = (\hbar c )/ (e B) $.
On the other hand, If I solve the equation with $\mathbf A = (0,B_x,0)$, I get as solutions $$\Psi_b(x,y) = e^{ik_yy} e^{-(x-x_k)/(2l^2)},$$ with $x_k = l^2 x_y $.
I am now asked to show that I can take linear combinations of states localized in $y$ ($\Psi_a$) and obtain states localized in the $x$ direction ($\Psi_b$). I am confused about how to do this since I don't see how a sum over exponential functions localized in one direction can add up to an exponential function(s) localized in other direction. It has to be possible since both cases represent the same physical state so the solutions must be equivalent. Do you know how can this be done?