Put the infinitive given into the imparfait or the passé composé according to which is most appropriate to the context.