Let’s do this step by step
Step 1.
You distribute -2(x+1) This would be -2x-2)
Step 2.
Then the equation will become 7x-2x-2+18=8x-11
Step 3.
Then you collect like terms
This would end with
5x+16=8x-11
Step 4.
Then you will move the terms
This will end with
-3x=-27
Step 5.
Then you will divide -3 on both sides of the equation which will end with
X=9