We reduce the solution of the Schrödinger equation with the potential U(r, t)=α1(t) r2+α2(t) x+α3(t) y +α4(t) z+α5(t) to the solution of the Schrödinger equation for a free particle. The αi(t) are arbitrary functions of time. A generalization of this is also considered.