The correct option is D Both A and B
4x2y2 and 7x2y2 are like terms since these expressions have x2y2 with a constant coefficient. Note that for two terms to be like terms, they should have the same variables, with each variable raised to the same power in each of the terms.
Also, x3y and 7x3y are like terms.
But, 6xy and 4y2 are not like terms.