document.write( "Question 166102: A collection of triangles and pentagons contains 40 shapes having a total of 138 sides. How many pentagons are there? \n" ); document.write( "
Algebra.Com's Answer #122382 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A collection of triangles and pentagons contains 40 shapes having a total of 138 sides. How many pentagons are there?
\n" ); document.write( "----------
\n" ); document.write( "# of shapes equation: p + t = 40
\n" ); document.write( "# of sides equation: 5p +3t = 138
\n" ); document.write( "--------------------------
\n" ); document.write( "Multiply thru 1st by 3 to get:
\n" ); document.write( "3p + 3t = 120
\n" ); document.write( "5p + 3t = 138
\n" ); document.write( "----------------
\n" ); document.write( "Subtract 1st from 2nd to get:
\n" ); document.write( "2p = 18
\n" ); document.write( "p = 9 (# of pentagons)
\n" ); document.write( "Since p + t = 40, t = 31 (# of triangles)
\n" ); document.write( "=====================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );