Like terms
Like terms have the exact same variable part — same variable, same exponent. 3x² and −5x² are like; 3x² and 3x are not (different exponents); 7x and −2x are like. Combine them by adding coefficients and keeping the variable part: 3x² − 5x² = −2x².
Why it works
Like terms are the same kind of thing. 3 apples plus 5 apples is 8 apples — you never turn apples into apple-squareds. The variable part is the unit; you only add the counts in front.