This is an additional teaching example, not a quotation from the book.
شَاهَدْتُ مُعَلِّمَاتٍ.
Translation: I saw female teachers.
مُعَلِّمَاتٍ: accusative direct object, marked by kasra.
تَحَدَّثْتُ إِلَى مُعَلِّمَاتٍ.
Translation: I spoke to female teachers.
إِلَى: preposition.
مُعَلِّمَاتٍ: genitive noun, marked by kasra.
The form is identical, but the syntactic function is different.