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
![x+5](https://img.qammunity.org/2023/formulas/mathematics/high-school/wwkl6s28rzxdl2aucen1xtlw6mu9gb24f4.png)
Also, we were told that the shortest piece is 8inches shorter than the middle piece.
Mathematically, it means
![x-8](https://img.qammunity.org/2023/formulas/mathematics/college/l5cxqvey9q2dvjfem2sn774o2aijpjxnis.png)
Therefore, the sum of all three lengths must be 48inches.
Hence,
![x+5+x+x-8=48](https://img.qammunity.org/2023/formulas/mathematics/college/6b8thtcb3yj5y1scyzznyih1ilazugehw3.png)
Solving for x
![\begin{gathered} x+x+x+5-8=48 \\ 3x-3=48 \\ 3x=48+3 \\ 3x=51 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/m5phuuorp911zyq9az4lqpvexaga118p3t.png)
Divide both sides by 3
![\begin{gathered} (3x)/(3)=(51)/(3) \\ x=17 \\ \therefore The\text{ length of the middle piece=17inches.} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/sb36gih24hes3aul3uunz4wjzf3kf6pyuw.png)
Therefore,
The length of the large piece is,
![\begin{gathered} x+5=17+5=22 \\ \therefore The\text{ length of the large piece is 22inches.} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/40d5c8jioguyuqxsdv4egekmdkjp8ea8gt.png)
The length of the shortest piece is,
![\begin{gathered} x-8=17-8=9 \\ \therefore The\text{ length of the shortest piece is 9inches.} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/gjvsn3bpnn3h5065oxyw7hkk0av15ev55o.png)
Hence, the lengths of the three-piece are 9inches, 17inches, and 22inches.