In exponential form, this says
(1/3)x = 9
Note that 1/3 = 3-1 and 9 = 32 so we can write
(3-1)x = 32
3-x = 32 and, equating exponents, we have
-x = 2 so x = -2
So
log1/3 9 = -2