contestada

Why in these examples, the second verb is in the infinitive?
- On doit arriver à l'école
- Il faut porter un uniforme