Answer:
△ABC and △DEC are similar because they both have the same angle at vertex C, and corresponding sides are proportional. To find EC, we use the similarity ratio of the two triangles, which is equal to the ratio of the lengths of corresponding sides. In this case, the ratio of AC to EC is 18/24, so EC = (24 x 18)/24 = 18 units.