preterite vs irregular help!!!

Answer: 2) Ellos se quejaban de vez en cuando.
Explanation: The imperfect past is used in Spanish to describe an action that was habitual in the past. "De vez en cuando" means occasionally, that is to say quite habitual.