We see the left side of the equation becomes
But note that [I'm assuming that when you refer to log, you mean it is of base 10]
So we see that
This is true only when
Solve this quadratic equation and see what x values you get.
Does this make sense?