Oui, vous êtes professeur.
Here's why:
* Oui means "yes."
* Vous is the formal "you" and is appropriate when addressing someone you don't know well or are showing respect.
* êtes is the conjugated form of the verb "être" (to be) in the present tense, second person plural.
* professeur means "teacher."
Let me know if you'd like to learn other phrases related to teachers or professions in French!