The correct option is D 12
Given, 2x+1=8x
2x+1=(23)x
We know, for any non-zero integer 'a' and any integers m and n,
(am)n=amn.
⇒2x+1=23x
Since the powers in the LHS and the RHS are equal and the bases are the same, their exponents must also be equal.
⇒x+1=3x
⇒2x=1
⇒x=12