جَاءَنِي زَيْدٌ أَخُوكَ — Zayd, your brother, came to me.
جَاءَ: past verb built on fatḥah.
نِي: attached accusative object pronoun; n is nūn al-wiqāyah.
زَيْدٌ: nominative subject with ḍammah.
أَخُوكَ: whole-for-whole badal, nominative with wāw because akhū is one of the six nouns; it is mudāf, while -ka is mudāf ilayh.
The case is the same (nominative) although Zayd has ḍammah and akhū has wāw.