Given a line segment that contains the points A,B, & C in order, if AB = x + 12, and BC = 2x - 4, and AC = 26, find x.