I know the answer, but is there a formula to show work?
Amy had a piece of wire 96 inches long. She cut the wire into 3 pieces. The second piece was 6 inches longer than the first piece. The third piece is 9 inches longer than the second. What was the length of each piece of wire?
The answers I got were 25,31,40. But it was from trial and error from 3/96=32
first piece : x
second piece : x+6
third piece : (x+6)+9 = x+15
x + x+6 + x+15 = 96
3x = 75
x = 25
F = length of FIRST piece.
S = length of SECOND piece.
T = length of THIRD piece.
=========================
F + S + T = 96
In addition we know,
S = F+6
T = S+9 which = F+6 + 9.
======================
Substitute into F + S + T = 96
for F.
F + F+6 + F + 6 + 9.
Solve for F, then S, then T.
The answers are the same as yours by trial and error.