\[(a - 5)x = 1\]
\[x = \frac{1}{a - 5}\]
\[1.\ a = 5 \Longrightarrow нет\ решения.\]
\[2.\ a \neq 5 \Longrightarrow x = \frac{1}{a - 5}\]