Like terms are terms that have the same variable raised to the same power. Based on the pairs you've provided:
-
2 and 2x - These are not like terms because one is a constant (2) and the other includes a variable (2x).
-
x and y - These are not like terms because they have different variables.
-
-3x and 3x - These are like terms because they both contain the variable x raised to the same power.
So, the only pair of like terms from your examples is -3x and 3x.