The value of x is 6.
Solution:
By Proportionality theorem,
If a parallel line to one side of a triangle intersects the other two sides, then it divides the two sides proportionally.

Do cross multiplication.


Divide by 2x on both sides of the equation.
⇒ 6 = x
⇒ x = 6
The value of x is 6.