To solve an exponential equation, the correct statement is: The bases on either side of the equation have to be equal.
When the bases are the same, you can set the exponents equal to each other to solve for the variable. If the bases are different, you may need to use logarithms or other methods to solve the equation.