\[b_{5} = 10;\ \ b_{12} = 31:\]
\[\left\{ \begin{matrix} b_{1} + 4d = 10\ \ \\ b_{1} + 11d = 31 \\ \end{matrix}\ \ ( - )\ \right.\ \]
\[- 7d = - 21\]
\[d = 3.\]
\[Ответ:\ \ 3.\]