Since multiplication is associative, rearrangements of variables does not change a term:3xy is same as 3yx.
3x2y and 7xyx are like terms.