To answer this question, we need to know what like terms are. Like terms are terms whose variables and exponents are the same. The coefficients can be different, though. In this case, the like terms are -a²b and 5a²b (because of the definition above.