In general,
logaab= b
Also,
a^logab
=b
So applying these two rules to each side of the equation,
2x = 2^log2(1/8)
2x = (1/8)
You can choose one of the two forms that fits better your choice of answers.