HELP! 7th grade math! GIVE CORRECT ANSWER AND YOU WILL GET BRAINLIEST!!

Answer:
ED = 4 units
Step-by-step explanation:
Observing the figure given to us, we can deduce the following:
=>CE = EA (because point E is the midpoint of CA)
Therefore, if CE = EA = x unit, CA = 2x
=>Also, CD = DB (because point D is the midpoint of CB)
Therefore, if CD = DB = y, CB = 2y
Thus, CA/CE = CB/CD = 2 (2x/x = 2y/y)
Going by the above ration we got comparing the ratio of the corresponding sides of ∆CAB and ∆CED (2:1), we can conclude that ∆CAB ~ ∆CED
Using the ratio of the corresponding sides of ∆CAB to ∆CED = (2:1), measure of segment ED is calculated below:
AB/ED = 2/1
8/ED = 2/1
Cross multiply
8 × 1 = 2 × ED
Divide both sides by 2
8/2 = ED
ED = 4 units