Ответ:

4. Pam didn't go out last night because she hadn't finished her homework.

Ответ: hadn't finished