Draw the line out. It'll help you visualize the relationship between each length.
e---g
As you can see above, ef+fg=eg, so you'll have (2x-15)+(3x-15)=23
solve for x, and plug it back into ef=2x-15 and fg=3x-15 to solve for ef and fg.
ef=2x-15, fg=3x-15,eg=23 find the values of x,ef and fg
2 answers
3x=15