Drop the infinitive ending, add -л, agree with the speaker — plus was/were and had/hadn't.
Explore past-tense in Czech
Explore past-tense in Croatian
Explore past-tense in Polish
Explore past-tense in Russian
Explore past-tense in Serbian