Find x in each figure (assume the segment across the triangle is parallel to the third side)

Answer:
So name the triangle ABC with the line segment being DE
Step-by-step explanation:
So in triangle ADE and Triangle ABC
angle a = angle a ( common)
angle ade = angle abc ( corresponding angle)
therefore ABC is similar to ADE by AA criteria
Therefore
AB/AD = BC/DE
15/x = 18/6
cross multiply
90 = 18x
5 = x
PLS MARK BRAINLIEST