Help? check

Line segment AB intersects line segment ED in the middle at the point C

If DC=6+x and CE=2x+1, what is the lenth of ED?
A. 5
B. 11
C. 22
D. 10

Answer: C

Line segment AB intersects line segment ED in the middle at the point C

If DC=6+x and CE=2x+1, find the value of x
A. 10
B. 5
C. 22
D. 11

Answer: a.