The phrase
"direction of the teacher" means following the instructions and guidance given by the teacher or instructor. It means listening to their advice, learning from them, and doing what they suggest in order to learn and improve.
Full definition