1. When I arrived (arrive) at the station, the train had left (leave).
First action: had left.
2. We lit (light) the candles because the lights went (go off).
First action: went.
3. When I got home I discovered (discover) that somebody had broken (break into) my flat.
First action: had broken.
4. The patient had died (die) before the ambulance reached (reach) the hospital.
First action: had died.
5. Billy had eaten (eat) all the cakes by the time the other children arrived (arrive) at the party.
First action: had eaten.