وَذَلِكَ «ذَا» لِلْمُذَكَّرِ، وَ«ذَانِ» وَ«ذَيْنِ» لِمُثَنَّاهُ.
Translation: «ذَا» points to one masculine referent; its dual uses «ذَانِ» and «ذَيْنِ».
ذَانِ serves nominative contexts; ذَيْنِ serves accusative/genitive contexts. Compare «هَذَانِ طَالِبَانِ» with «رَأَيْتُ هَذَيْنِ الطَّالِبَيْنِ».