document.write( "Question 863660: Stan spent $167 on shirts. The button shirts cost $27 each, and the t-shirts cost $8 each. He bought a total of 9 shirts. How many of each did he buy? \n" ); document.write( "
Algebra.Com's Answer #520536 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Hi
\n" ); document.write( "Let x represent number of button shirts ...\"%289-x%29\" the number of t-shirts
\n" ); document.write( "27x + 8(9-x) = 167
\n" ); document.write( " 19x = 95
\n" ); document.write( " x = 5, number of button shirts. 4 t-shirts
\n" ); document.write( " \n" ); document.write( "
\n" );