x=6
both sides seem the same size, so, we need to find something that equals 24. 3 (x+2). if you add 6 and 2 you get 8. 3x8= 24.
Hope this helps!