"Like terms" are terms that contain the same variable (raised to the same power, if the problem contains exponents). For example, 3x and 5x are considered like terms with one another since they both have x. Constants ("plain numbers") are also like terms with one another. For example, 2 and -4 are like terms. Only like terms can be combined with one another. To combine like terms, you simply add them. 3x + 5x is 8x, and 2 + -4 is -2. Therefore, the expression 3x + 2 + 5x - 4 would be simplified as 8x - 2.
Students often get confused and accidentally combine unlike terms. With this particular example, many students would incorrectly combine 8x and -2 (and arrive at incorrect solutions such as 6x or 6). I like to use my students' interests in order to exemplify why unlike terms cannot be combined. For example, let's say my students like cookies and friendship bracelets. I would explain to them how the x's could refer to cookies, and the constants could refer to friendship bracelets. Let's say we had an expression of 6x + 13, where 6x represents 6 cookies and 13 represents 13 friendship bracelets. It is not possible to combine 6 cookies and 13 friendship bracelets into 19 cookies or 19 friendship bracelets! This gives students a fun way to conceptualize only being allowed to combine like terms with one another.