The student thanked for letting him be/to be being a teacher for 5 minutes.<br/><br/> Which variant is correct?