Gina and her friends weren't able to go to the library at school.
But they had no other choice.
They had finished their report so they had to go back to school.
The needed to finish their report so they had to go back to the school.