First, you can use the change of base formula on both sides of the equation. You'll notice that the problem is easiest when put into log base-2.
$\frac{\log_2(8)}{\log_2(x)}-\frac{\log_2(8)}{\log_2(4x)}=\frac{\log_2(16)}{\log_2(2x)}$
Next, simplify everything.
$\frac{3}{\log_2(x)}-\frac{3}{2+\log_2(x)}=\frac{4}{1+\log_2(x)}$
Next, get rid of all of the denominators by multiplying each term by all of the denominators.
$3(2+\log_2(x))(1+\log_2(x))-3\log_2(x)(1+\log_2(x))=4\log_2(x)(2+\log_2(x))$
Next, combine all like terms and move everything to one side.
$4\log_2(x)^2+2\log_2(x)-6=0$
Notice that the equation is in the form of a quadratic that can be factored.
$2(2\log_2(x)+3)(\log_2(x)-1)=0$
You'll find that:
$\log_2(x)=-\frac{3}{2}$ and $\log_2(x)=1$
Now get rid of the logarithms to get $x$ alone.
$x=2^{-\frac{3}{2}}$ and $x=2$