A perturbation theory is presented for a system whose Hamiltonian generates a finite-dimensional Lie algebra and is periodic in time. Quasi-energies are obtained in the second order of the perturbation theory for the three-level quadrupole system in a harmonic external field.