\[\frac{x - 2}{x - 7} = \frac{5}{8}\]
\[8 \cdot (x - 2) = 5 \cdot (x - 7)\]
\[8x - 16 = 5x - 35\]
\[8x - 5x = - 35 + 16\]
\[3x = - 19\]
\[x = - \frac{19}{3}\]
\[x = - 6\frac{1}{3}\text{.\ }\]