Answer
See the answer below.
Work Step by Step
$n_{B,Reacted}=x, [B]_{Equil}=(0.017-x)/V$
$n_{iB,Formed}=x, [iB]_{Equil}=x/V$
$K=[iB]/[B]\rightarrow 2.5=x/(0.017-x)$
$x=0.0121\ mol$
At equilibrium: $[B]=(0.017-0.012)/0.5=0.01\ M, [iB]=0.024\ M$