past simple and past perfect
By the time Jen came home, Jake had already walked the dog
(this happened after this happened)
past simple and past continuous
We didn’t know they were waiting for us at the railway station.
(this happened while this was going on)
past simple and past perfect continuous
She wondered who had been tampering with her computer.
(this happened after this had been going on for a while)