If 3(4x+8)=12, then x=