Answer
$$x=4$$
Work Step by Step
According to the definition of the logarithm, we have$$\log_3(x+5)=2 \quad \Rightarrow \quad x+5=3^2=9 \quad \Rightarrow \quad x=4.$$We can see that $x=4$ satisfies the original equation:$$\log_3(4+5)=\log_39=2$$