[1]
1. …, but when he came(過去) home, (I [had already finished](過去完了・完了) dinner).
2, We ([had been](過去完了・継続) worried about him until) he showed(過去) up.
彼が姿を現すまで、私達は[ずっと]彼のことを心配[していました]。
3. I ([had never sent](過去完了・経験) a letter to a foreign country) before I wrote(過去) to him.
4. We ([had been walking] (過去完了進行形・継続) for four hours) when we finally reached(過去) the top of the mountain.
5. I didn’t (know(過去) that she [had gone](過去完了・完了/結果)).
彼女が[行ってしまってここにいない]ことを知らなかった。
6. (My little brother [will have fallen](未来完了・完了) asleep) by the time I get(現在) home.
私が帰宅する時までには、弟は[眠ってしまっているでしょう]。
[2]
1. When the guest came(過去), she [had just finished](過去完了・完了) cooking.
2, By the end of the year, I [will have been](未来完了・経験)] there more than ten times.
3. They [had known](過去完了・継続) each other for five years when they got(過去) married.
現在使っている英文法参考書の『時制』の中にある「過去完了形」を、ご自分の目で見て、再度確認してください。
上記の問題文のような例文と説明が、必ず書かれています。
文法参考書は、是非手元に置いていつでも参照できるようにすると、文法的な知識は自然と身につくと思います。
参考にしてください。