How does the poet plan to find out? What will he do once he finds out?

The poet plans to follow one of the teachers on the way back to the home and find out what they do. Once he finds out what they actually do, he thought about composing a poem on it and also assumed that the teachers would read that poem to their students.