can anyone please help me find the length of X?

Solution:
Note that:
Using the perimeter of the smaller triangle, solve for x.
The length of x is 2 units.