This problem is about middle points. Remember that a middle point divides equally the intersected segment, that means segments DC and CE are equal, so we can solve as follows
Now, we have a linear equation. First, we need to put all terms with variables on the left side, and terms without variables on the right side-
Now, we solve each difference
We need to multiply by -1 to have the variable positive
Therefore, the value of x is 5.