Let 'x' represent the length of the middle piece
We were told that the large piece is 5inches longer than the middle piece,
Mathematically, it means
Also, we were told that the shortest piece is 8inches shorter than the middle piece.
Mathematically, it means
Therefore, the sum of all three lengths must be 48inches.
Hence,
Solving for x
Divide both sides by 3
Therefore,
The length of the large piece is,
The length of the shortest piece is,
Hence, the lengths of the three-piece are 9inches, 17inches, and 22inches.