document.write( "Question 301848: Miguel needs to cut his 40 cm piece of yarn into three smaller pieces. The longest piece is to be 3 times as long as the middle-sized piece, and the shortest is to be 5 cm shorter than the middle-sized piece. What lengths should be cut? \n" ); document.write( "
Algebra.Com's Answer #216468 by helpnalgebra(91)\"\" \"About 
You can put this solution on YOUR website!
this has been answered so im posting it for you incase you didnt see it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let the midle-sized piece have length \"x\".
\n" ); document.write( "Longest piece has length \"3x\".
\n" ); document.write( "Shortes piece has length \"x-5\".
\n" ); document.write( "======================
\n" ); document.write( "Equation:
\n" ); document.write( "x + 3x + x-5 = 40
\n" ); document.write( "5x = 45
\n" ); document.write( "x = 9 cm (middle)
\n" ); document.write( "3x = 27 cm (largest)
\n" ); document.write( "x-5 = 4 cm (smallest)
\n" ); document.write( "
\n" );