you can
Include phrases like:
You really helped me understand when I was struggling.
Thank you for tutoring me in algebra this year.
Your class taught me how to be a better student.
Thank you for your patience.
You helped me see what I could be.
You are the best teacher ever!
I will never forget you.