document.write( "Question 1179663: Sam bought 3 shirts and 2 pairs of pants for $85.50. Randy bought 4 shirts and 3 pairs of pants for $123. How much does one shirt cost? How much does one pair of pants cost? \n" ); document.write( "
Algebra.Com's Answer #809228 by MathTherapy(10551)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Sam bought 3 shirts and 2 pairs of pants for $85.50. Randy bought 4 shirts and 3 pairs of pants for $123. How much does one shirt cost? How much does one pair of pants cost?
\n" ); document.write( "
Let the cost of a shirt and pair of pants be S, and P, respectively
\n" ); document.write( "Then we get: 3S + 2P = 85.5 ------ eq (i)
\n" ); document.write( "Also, 4S + 3P = 123 ------ eq (ii)
\n" ); document.write( "Subtract eq (i) from eq (ii) to get: S + P = 37.5, or S = 37.5 - P
\n" ); document.write( "Substitute the value of S into eq (i) to get an equation in P.
\n" ); document.write( "From there, solve for P to get a pair of pants, or \"highlight_green%28matrix%281%2C3%2C+P%2C+%22being%3A%22%2C+%22%2427%22%29%29\" \n" ); document.write( "
\n" );