I can't find the coordinates of midpoint D , must simplify

We have to find the midpoint coordinates (D) of segment AB.
We can calculate the coordinates of the midpoint as:
[tex]\begin{gathered} x_M=\frac{x_A+x_B}{2}=\frac{-6x+(-2x)}{2}=\frac{-8x}{2}=-4x \\ \\ y_M=\frac{y_A+y_B}{2}=\frac{4y+(-4y)}{2}=\frac{4y-4y}{2}=0 \end{gathered}[/tex]Answer: D = (-4x, 0)