We will have the following:
[tex]-\frac{2}{3}(x+12)+\frac{2}{3}x=-\frac{5}{4}x+2\Rightarrow-\frac{2}{3}x-8+\frac{2}{3}x=-\frac{5}{4}x+2[/tex][tex]\Rightarrow-\frac{2}{3}x+\frac{2}{3}x+\frac{5}{4}x=2+8\Rightarrow\frac{5}{4}x=10[/tex][tex]\Rightarrow5x=40\Rightarrow x=8[/tex]So, the value of x is 8.