---------------------------------------------------- M is the midpoint of CD. Given ------------------------------------------------- Both ends of the line segment to M is equal. Definition of midpoint ------------------------------------------------- CM = 5x-2 and MD = 3x+2. Given ------------------------------------------------- CM = MD. As above, definition of midpoint ------------------------------------------------- 5x-2 = 3x+2. Substitution ------------------------------------------------- 5x-3x = 2+2 2x = 4 Rules of Algebra x = 2