\[(a + 5)x = a + 5\]
\[x = \frac{a + 5}{a + 5} = 1\]
\[a = - 5 \Longrightarrow x - любое\ число.\]
\[a \neq - 5 \Longrightarrow x = 1.\]