Given equation is 3x = 9x+5
Convert 9 to base 3 i.e 32
3x = 32(x+5)
According the laws of exponents, when bases of equal equate the powers.
x=2(x+5)
x = 2x+10
2x-x+10 = 0
x+10 = 0
x=-10.