I have this problem which I can't seem to work out how to solve. I can get the answer, using Wolfram|Alpha, but I want to know the steps of solving it.

3^(2x) + 3^x = 20

I know x = log(4)/log(3) = 1.2618595...

But how do you work it out? Can someone show me the steps?

The thing that is really confusing me is the plus in the middle, i can't go: log(3^(2x)) + log(3^x) = log(20) because it doesn't work.

What do you put in the middle: log(3^(2x)) ? log(3^x) = log(20) or am i tackling this completely wrong?

No matter how I change/re-arrange the equation, I can't seem to get rid of the plus to put logs into it