Why is مُعَلِّمِيَّ genitive in سَلَّمْتُ عَلَى مُعَلِّمِيَّ?

Noun Case Class 9 — Sound Masculine Plural with My