I worked out that $m_{AB} = -2$,and therefore $m_{DCE} = \frac{1}{2}$.
The midpoint of $AB$(which is $C$) is $(2,4)$,
then I substituted $(2,4)$ into $y = \frac{1}{2}x +c$
which gave me $y = \frac{1}{2}x +3$ as the equation of the line $DCE$.
I checked the mark scheme and their answer is $y = \frac{1}{2}x -2$. I was doing another of their questions and the mark scheme was definitely wrong then.
Was my method/answer correct, if not, where did I go wrong?