Answer:
ED=12 units
Step-by-step explanation:
From the diagram triangle EAB is similar to triangle EDC.
The corresponding sides will be proportional.
EA/ED=AB/DC
This implies that:

We cross multiply to get:

We expand to get:

Group similar terms to get:

Combine the similar terms to get:

Divide through by 3 to get:

This will simplify to:

Therefore ED=2*4+4=8+4=12