Like terms are those which have the same literal coefficients along with different or same numerical coefficients.
So, we have to examine the given choices one after the other.
A) 7xy,4x: Here, both terms have different literal coefficients, xy and x. Therefore, these cannot be like terms.
B) 9,9z: 9 is a constant while 9z is a variable. Therefore, these cannot be like terms.
C) x3y,xy: Again, we observe that the terms have different literal coefficients, and therefore cannot be grouped as like terms.
D) x3y,12x3y: Here, both terms have the same literal coefficients, x3y. Thus, these terms are denoted as like terms.