Let teacher Zhang be X and teacher Wang be Y:
X-y=y-6 (first sentence)
60-x=x-y (from the second sentence)
Solution: x=42 y=24
Postscript: Actually, there is something wrong with this question. "Retirement" may be 60 years old or over, such as 43, 25, 44, 26, 45 and 27. . . All meet the meaning of the question, hehe