Like terms are those terms whose variables are the same, and those variables appear with the same exponents.
In the given expression:

There are 6 terms in total. Notice that there are two quadratic terms:

There are two linear terms:

And there are two constant terms:

To combine like terms, add their coefficients. If a term does not have an explicit coefficient, it is equal to 1.
Then:

Therefore:
