Is the sentence tom taught at your school having graduated from university right?

Tom taught at your school after graduating from the university.