8x-12 = 4x
subtract 4x from each side to get
8x-12-4x = 0
8x-4x = 4x so you get
4x-12 = 0
add 12 to each side
4x=12
divide both sides by 4 to get
x=3