I understand logs and can solve simpler equations like
$$ 7^x=3 \\ \log7^x=\log3\\ x = \frac{\log3}{\log7} $$
But the addition in this particular expression really throws me off and I have no idea how to even approach it:
$$ 2\left(5^x\right)+5^{-x}=3 $$
If it was a multiplication, no problem, but I have never seen problems with addition like this before.
I have tried rearranging and factorising, e.g. $5^{-x}\left(2\left(5^{2x}\right)+1\right)=3$, but can someone show me what I need to do to solve problems of this form?
Hint.
You can use the substitution $y=5^x$.
Then your equation becomes
$$2y+\frac 1y=3$$
which is a simple quadratic equation.