The Total solution for NCERT class 6-12
Let us consider Tr+1 thterm in the given expansion contains x and y to one and the same power.
Then we have,
Tr+1 = nCr xn-r ar