The professor teaches free classes, and students attend them.
The pair of verbs that correctly completes the sentence is the one in the first entry (teaches, attend). This is the case because "the professor" refers to 3rd person singular and therefore the verb should also be third person singular. The opposite happens with the noun head "students" because it is 3rd person plural (they), so the verb should be in 3rd person plural (attend).