We need to isolate x and find the solution of the following equation:
[tex]\begin{gathered} 6x-(5x+5)=-8-2\cdot(x+12) \\ 6x-5x-5=-8-2x-2\cdot12 \\ x-5=-8-2x-24 \\ x+2x=-32+5 \\ 3x=-27 \\ x=-\frac{27}{3} \\ x=-9 \end{gathered}[/tex]The solution is x = -9.