Fill in the gap with the right form of the verb.
They went to the museum after they __________________ (to finish) their homework.