كِتَابٌ ← كِتَابَانِ / كِتَابَيْنِ — two books.
مُعَلِّمٌ ← مُعَلِّمَانِ / مُعَلِّمَيْنِ — two male teachers.
مُعَلِّمَةٌ ← مُعَلِّمَتَانِ / مُعَلِّمَتَيْنِ — two female teachers.
Notice: The tāʾ marbūṭa of a feminine singular changes into an ordinary t when the dual ending is attached: مُعَلِّمَةٌ → مُعَلِّمَتَانِ.
Practice: Which form belongs in “I saw two books”? كِتَابَيْنِ because it is a direct object.