Like terms involve the same variables, and each of those variables must have the same exponents.
Another example of a pair of like terms would be 5x^3y^2 and 7x^3y^2. Both involve the variable portion "x^3y^2" which we can replace with another variable, say the variable z. That means 5x^3y^2 becomes 5z and 7x^3y^2 becomes 7z. After getting to 5z and 7z, it becomes more clear we have like terms.
Do you is playing games notices that the ratio of red tokens to purple tokens is 2 to 3 to count six red tokens John numbers to complete the diagram to the number of purple tokens numbers may be used once more than once or not at all.