A new play explores the similarities in the relationships between teacher and student, and the rhythms and structure of the two disciplines