The past perfect tense questions are used to ask whether an action or state had been completed before another event or a specific time in the past.
For Regular Verbs:
Statement: They had finished the project before the deadline.
Question: Had they finished the project before the deadline?
For Irregular Verbs:
Statement: She had written a …
1. she / clean / the house / before / guests / come
2. you / study / for the test / before / it was canceled
3. he / already / eat / before / we / call / him
4. she / already / submit / the assignment / when / the deadline / change
5. we / learn / about the accident / before / it / was on the news