Solve an Exponential Equation by Getting Bases to be Equal