Like terms must have the same variables and those variables must have the same powers.
and
are like terms, because they both have
and they both have
.
and
are NOT like terms, because the powers no longer match.
In your example, do you have the same variables and do the variables have the same powers in both expressions?