Answer:
Dudásemos (o dudáramos) que terminara a tiempo
Step-by-step explanation:
PRETERITO IMPERFECTO DEL SUBJUNTIVO
The past subjunctive tense is used in simple and subordinate sentences to refer to something that happened before or at the same time as the moment of speech, depending on whether the verb of the main sentence is present or past. It also expresses courtesy or caution.
For example:
No creo que pudiera trabajar en ningún otro sitio.