is -7x^3 and 2x^2 like terms

No, -7x^3 and 2x^2 are not like terms because they do not have the same variable raised to the same exponent. Like terms must have the same variable(s) raised to the same exponent(s).