سَاعَدَنِي وَشَكَرَنِي خَالِدٌ — Khalid helped and thanked me.
سَاعَدَ: active past verb; «نِي» is its object and an implicit pronoun supplies its subject in this analysis.
شَكَرَنِي: coordinated past verb with «نِي» as object.
خَالِدٌ: nominative subject of the second verb.
Both verbs seek subjecthood: this is a pattern 1 teaching example, not the book’s original wording.