Can someone please help me out with this.

3^5+2x = 1/9x

I'm not looking just for the answer (since i have it) but i want to understand it.

Here's my rough work.

3^5+2x = 1/ 9^x

= 3^5+2x = 1 / (3^2)^x

5+2x = 2x

0x = -5

... I know i made a mistake somewhere there... the actual answer is x = -5/4 but I have no idea how you get it since the 2 is not negative...

Thanks.