Cual es correcto? Please explain why the wrong answer isn't correct! Thanks!

on the first one is the second option because it says estaba.
on the second one is the first one because is saying comimos.
on the third one is the second one because it says quiso.
on the forth one is the second because it says iba.