-(1+7x)-6(-7-x)=36
-(1+7x)-6(-7-x)=36 simplify on the left
-1 - 7x + 42 + 6x = 36
41 - x = 36 add x to both sides and subtract 36 from both sides
5 = x