Give the calligraphy to the teacher. What should I write?
Sign a contract? Your student, who loves you, can use it. It doesn't matter whether it's formal or not, but let the teacher feel your sincerity. The teacher will always be the father, and how you write is to express your gratitude. As long as you can express this meaning, you can write it in any way.