ذَهَبْتُ أَنَا وَخَالِدًا
Translation: I went together with Khalid.
ذَهَبْتُ: past verb and subject suffix.
أَنَا: emphatic pronoun.
وَ: accompaniment wāw.
خَالِدًا: accusative accompaniment complement.
The preceding form made Khālid a coordinated subject; here Khālidan is the accusative companion.