The given equation is
[tex]-5x+2=-9x+38[/tex]First, we add 9x on each side.
[tex]\begin{gathered} -5x+9x+2=-9x+9x+38 \\ 4x+2=38 \end{gathered}[/tex]Then, we subtract 2 from each side.
[tex]\begin{gathered} 4x+2-2=38-2 \\ 4x=36 \end{gathered}[/tex]At last, we divide the equation by 4.
[tex]\begin{gathered} \frac{4x}{4}=\frac{36}{4} \\ x=9 \end{gathered}[/tex]