That's a transcendental equation. You'll have to solve it numerically.
There is no known closed-form algebraic solution to that equation. The best you can do is, given a particular value for a, use a computer (most likely) to solve for x. You could try Newton-Raphson or something similar.