If you sketch your line segment and label the points H, J and K , you will see that
HJ + JK = KH
Plug in values
3(x +2) + 3x - 4 = 44
Now you have a simple equation that you can use to solve for x. Use your techniques in solving equations. Clear parenthesis, combine like terms, add or subtract, multiply or divide, etc depending on the given equation.
After solving for x, plugin the value of x to the lengths of each segment written in terms of x, to get the actual length os segment HJ and segment JK
Hope it helps.