this question seems a bit too hard for Middle school math. i can't really figure out a nice way to find a general solution without calculus.

what guide lines were given? are we allowed to say pick the value of one exponent and then find the value of the other that makes the equation true, etc?