D is the midpoint of CE, so if you draw a line with those three points, it'll look like C-D-E.
Since DE = 7x-1, which also means CD = 7x-1.
CD + DE = CE, so (7x-1)+(7x-1) = 10x+18.
Therefore, x = 5 and CE = 68.
Since AC is congruent to CE, AC = 68.
Assuming the point B is somewhere between AC.
Since BC = 9x-2 and x = 5, which means BC = 43.
AC - BC = AB, so 68 - 43 = 25.
Therefore, AB = 25