Official solution
a, b and c are in AP.
\[ \therefore \] a + c = 2b
As, abc = 8
\[ \Rightarrow \]ac\[\left( {{{a + c} \over 2}} \right)\]= 8
\[ \Rightarrow \] ac(a + c) = 16 = 4 \[ \times \] 4
\[ \therefore \] ac = 4 and a + c = 4
Then,
b = \[\left( {{{a + c} \over 2}} \right)\] = \[{4 \over 2}\] = 2