To understand the grammar of the sentence, you must break it into parts.
—What are you going to do this afternoon? —I am going to the cinema with some friends. The film _______ quite early, so we_______ to the bookstore after that.
On hearing the news, the girl rushed out without hesitation, the luggage_______on the floor and _________in the dark.
The old men can hardly imagine that they can live in an age _______ most of the daily things are done on the computers.
The guests are looking forward every moment to _______ to China again.
Many students don't want themselves to _______ doing _______ homework.