ضَرَبَنِي وَأَكْرَمْتُ زَيْدًا — Zayd struck me, and I honored Zayd.
ضَرَبَ: active past verb, with implicit subject «هُوَ» referring to Zayd.
نِي: first-person direct object.
وَ: conjunction.
أَكْرَمْتُ: past verb with «تُ» as its subject.
زَيْدًا: accusative object of «أَكْرَمْتُ», marked by fatḥa.
The same Zayd is semantically subject of the first action and object of the second.