Solving an equation

zoxee
how can I solve this using algebraic methods? I know the solution is x = 1 from just looking at it, but not sure how to do it algebraically:

## x + 3^x = 4 ##

$$x=\frac{-W(3^4\ln(3))}{\ln(3)}+4=1$$