Just to be clear, it looks like you meant:
Logb 9 = 2
If so, this will be easy. The "base" of a logarithm is also the "base" of the exponential. The two forms simply switch elements. What I mean is that the answer to one is the question in the other:
B2 = 9
You didn't mention solving, but just in case, you would merely take a square root on both sides, resulting in
B = ±3
A square root need not be both signs, but if you take an even root that wasn't there before, you must add the dual signs. One catch: if you plug in both versions, does either of them fail as an answer?