Time clauses

Multiple-choice exercise
(made by Carmen Luisa)

Choose the correct answer for each sentence.