وَمَرَرْتُ بِالرَّجُلَيْنِ كِلَيْهِمَا وَاثْنَيْنِ.
Translation: And I passed by the two men themselves and by two additional men.
بِ: preposition.
الرَّجُلَيْنِ: genitive, marked by yāʾ.
كِلَيْهِمَا: emphatic expression, genitive, marked by yāʾ.
اثْنَيْنِ: coordinated genitive form with yāʾ.
Contrast with the previous example: The visible form الرَّجُلَيْنِ has not changed; its syntactic case has.