in a class were they had to take notes, complete their everyday homework assignment, and class quizzes.
(they; to take; notes) (they; to complete; their everyday homework assignment)
they they
to take to complete
notes
their everyday homework assignment