had done (the past before the past) (B1 Grammar)

You already build this: had + the past participle — the same participle you use after have/has. That does not change here. Run the irregular ones through once, because from now on they turn up inside longer stories, where you have less time to stop and think.

A quick check: had + the past participle

The story does not always run in order

You already know the earlier action takes had + the past participle. What is new here is that a story often tells the later event first and then steps back, like this: Sofia woke up late. She had forgotten to set her alarm. Nothing in the order tells you which came first — had does.

Negatives and questions inside a longer story

These are the forms you already met: hadn't + the past participle, and Had + subject + the past participle ...? for a question. What is new is spotting them where they are harder to see — in a sentence that already carries another past verb, like this: She hadn't finished when the bell rang.

Explaining why something was so

Use had + the past participle with because to explain a past feeling or result by something that happened before it. With because the plain past is also correct — the word because already tells you which came first — so had + the past participle is a choice you make to stress that the earlier thing was finished by then, not a rule you have to follow.