كَتَبْتُ الدَّرْسَ.
Meaning: I wrote the lesson.
Parsing: kataba is a past verb; -tu is the attached subject pronoun in the nominative position; ad-darsa is the accusative object.
كَتَبْنَا الدَّرْسَ.
Meaning: We wrote the lesson.
Parsing: -nā is the attached subject in the nominative position; ad-darsa is the object.
Nominative position does not mean a visible ḍamma on the pronoun: pronouns are indeclinable.