\[(a - 1)x < 2\]
\[a = 1 \Longrightarrow ( - \infty; + \infty)\]
\[a < 1 \Longrightarrow x > \frac{2}{a - 1}\]
\[a > 1 \Longrightarrow x < \frac{2}{a - 1}\]