Rule reminder
Analyze each verb's function before choosing. One is usually background (imperfetto) and one is a new event (passato remoto).
Non _____ dove fosse la chiave, così _____ a cercarla dappertutto.