\[c_{1} = 6;\ \ c_{9} = 38:\]
\[c_{9} = c_{1} + 8d\]
\[8d = c_{9} - c_{1}\]
\[8d = 38 - 6\]
\[8d = 32\]
\[d = 4\]
\[Ответ:4.\]