2x+4(x-1)=2+4x [First, you would distribute the 4 into the x and -1]
2x+4x-4=2+4x [Then combine like terms(2x+4x)]
6x-4=2+4x [Next, subtract common numbers (6x-4x)]
2x-4=2 [Then you would combine like terms (2+4)]
2x=6 [Finally, divide the 2x by 6]
x=3
Hope this helped!