6x-12=log(x)1

that is base x
I know the answer is 2 but not sure how to do

regardless of the base, log(1) = 0,

because x^0 = 1

so, what you have is

6x-12 = 0
x = 2

try writing log_x(n) for log of n (base x). The underscore indicates the base.