AE = 119 is the total length of the line segment. The sum of the smaller line segments equals AE:
A------B---------C------D---------E
2x+4 3x-12 2x+4 5x-21
<--------------119----------------->
AB + BC + CD + DE = AE
(2x+4) + (3x-12) + (2x+4) + (5x-21) = 119
Combine like terms:
12x - 25 = 119
Solve for x.