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 , according to the theorem stated above.
Let's create ratios to solve for x in this problem.