गच्छतोः going like that, तयोः of both, मध्यगता moving in the middle, जनकात्मजा daughter of Janaka, मातङ्गयोः of two male elephants, मध्यगता in between, शुभा auspicious, नागवधूरिव like a female elephant, बभूव remained.
The daughter of Janaka walked between them like a sheelephant between two males.