(I was) my own teacher and pupil, and thanks to the efforts of both, they were not discontented with each other.
or simply: