Correct. Because both sides of the equation have expressions raised to the same exponent, the bases must be equal.