2(5x+7)+8x-7=27
We move all terms to the left:
2(5x+7)+8x-7-(27)=0
We add all the numbers together, and all the variables
8x+2(5x+7)-34=0
We multiply parentheses
8x+10x+14-34=0
We add all the numbers together, and all the variables
18x-20=0
We move all terms containing x to the left, all other terms to the right
18x=20
x=20/18
x=1+1/9