2x + b = w
2x = w - b
x = (w - b)/2
A line is a straight one-dimensional figure having no thickness and extending infinitely in both directions.
Since we aren't told the length of the 3rd bar, focus solely on the lengths of the first 2 bars. Add together their lengths: 1.15 cm + 3.92 cm = 5.07 cm.