I guess the equation is:

You can do the following step:

Or you can solve it like:

Do you notice the difference with your solution (which is incorrect)? You can't just put -x before the log without doing the same for the 3, you can put (3-x) before the logarithm or you can split the power.