The length of HJ equals the total of its two segments.
(3x – 5) + (x – 1) = 7x – 27
4x – 6 = 7x – 27
3x = 21
x = 7
.
The two segments HI and IJ must add up to the length of the HJ. So we have the equation:
3x-5+(x-1)=7x-27
4x-6=7x-27
3x=21
x=7