رَأَيْتُ هَذَيْنِ الطَّالِبَيْنِ.
Translation: I saw these two students.
هَذَيْنِ: accusative dual demonstrative, object marked by yāʾ. الطَّالِبَيْنِ: accusative apposition with yāʾ.
Yāʾ here marks the accusative because the verb makes the demonstrative its object.