First isolate all the terms on a side :

Note that you can factorize out a to make it simpler :

Divide to simplify :

Using the power log law :

Now, (we're using 3 as a changing base for obvious reasons). Substituting :

Now, , so :

Setting , you only have to solve :

The solutions are given by substituting another well-chosen value for so as to find a quadratic equation. The solutions are :

Now, since , . Just reverse the substitution to find the values of , and you are done

Does it make sense ? (hope I'm right, Wolfram won't check it for some reason)