Nominative: زَيْدٌ / أَحْمَدُ — both have ḍamma, but only Zayd has tanwīn.
Accusative: زَيْدًا / أَحْمَدَ — both have fatḥa, but only Zayd has tanwīn.
Genitive: بِزَيْدٍ / بِأَحْمَدَ — Zayd has kasra; Aḥmad has fatḥa.
Remember: ordinary diptote behavior differs in two ways: no tanwīn and fatḥa in the genitive.