how to i solve for x in this situation? thank yous.

Is it all? Is there any more information about it?
The triangle proportionality theorem states that if a line parallel to a side of the triangle intersects the triangle, then the two sides are divided proportionally.
See the attached image. In [tex] \triangle {ABC} [/tex], [tex] \frac{AD}{DB} =\frac{AE}{EC} [/tex] according to the theorem stated above.
Let's create ratios to solve for x in this problem.
[tex] \frac{12}{9}=\frac{2x}{x+4} [/tex]
12x + 48 = 18x
48 = 6x
x = 8