\[2 \cdot (x - 1) - ax = 7\]
\[2x - 2 - ax = 7\]
\[2x - ax = 7 + 2\]
\[x(2 - a) = 9\]
\[x = \frac{9}{2 - a}\]
\[Ответ:x = \frac{9}{2 - a}.\]