$$ \begin{aligned} -4x+9 &= -5x+4&& \text{move the $ \color{blue}{ -5x } $ to the left side and $ \color{blue}{ 9 }$ to the right} \\[1 em]-4x+5x &= 4-9&& \text{simplify left and right hand side} \\[1 em]x &= -5&& \\[1 em]x &= -5&& \\[1 em] \end{aligned} $$