Firstly, we will have to name vertices
We can see that
triangle ABC and triangle ADE are similar
so, the sides of their ration must be equal
we can write as

now, we can find sides from figure




now, we can plug these values

now, we can solve for x


now, we can cross multiply


we will isolate x terms


.................Answer