She asks if they have fucked at school then shows them how
The question was academic: have you two ever fucked at school? Their answer apparently lacked detail, because the teacher spends the next 26 minutes giving a practical demonstration nobody graded. Detention has never been this educational, and the students take notes in the most literal sense.