Assuming line AB is parallel to line CD, then we have two similar triangles as shown below
This means that triangle ABE is similar to triangle CDE. If two triangles are similar, the ratios of their corresponding sides are equal. Thus,
12/20 = 9/x
By crossmultiplying,
12x = 180