1) John had studied French before he went to Paris.
2) When we arrived at the cinema, the film had (already) started.
3) Richard had eaten all the cakes before Fred arrived home.
4) When the gardener had finished digging, he put in some cabbage plants.