First multiply x - 8 by 5:
[tex]5x - 40 + 26 = - 29[/tex]
Now you have to leave the linear term (5x) in one side and the constant terms (-40, 26, -29) in the other:
[tex]5x = - 29 + 40 - 26 \\ 5x = - 15[/tex]
Divide -15 by 5 and you will get the value of x
[tex]x = \frac{ - 15}{5} \\ x = - 3[/tex]
The value of x = -3