If the graph of y=log(subscript)ax passes through the point (8,3/2) then determine the value of a.

Please Help!

3/2 = log a (8)

a^(3/2) = 8
a ^(1/2)^3 = 8
a^1/2) = 2
a = 4