I will solve both. But if the correct equation is the first one, then you should indicate somehow that the base of the logarithm is 2. (You might want to "View the source" of this solution to see how I typed it to make it look like it does above.)
With both equations we start by rewriting the equation in exponential form.
which simplifies to:
which simplifies to
Dividing both sides by 2 we get: