document.write( "Question 1060704: Billy went to the store and bought 5 pants and 3 shirts for $145. He went again the
\n" ); document.write( "next day and bought 2 pants and 5 shirts for $135. What is the cost of a pants and a
\n" ); document.write( "shirt?
\n" ); document.write( "

Algebra.Com's Answer #675569 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
5p+3s = 145 multiply all times 5
\n" ); document.write( "2p+5s = 135 multiply all times -3
\n" ); document.write( "---------------------
\n" ); document.write( "New equations (after multiplication. Add them together:
\n" ); document.write( "25p+15s = 725
\n" ); document.write( "+
\n" ); document.write( "-6p-15s = -405
\n" ); document.write( "19p-0s = 320
\n" ); document.write( "rewrite:
\n" ); document.write( "19p = 320 divide both sides by 19
\n" ); document.write( "p = 16.84 is the price of one pair of pants.
\n" ); document.write( ":
\n" ); document.write( "Now for the shirts:
\n" ); document.write( "5p+3s = 145 multiply all times 2
\n" ); document.write( "2p+5s = 135 multiply all times -5
\n" ); document.write( "---------------------
\n" ); document.write( "New equations (after multiplication. Add them together:
\n" ); document.write( "10p+6s = 290
\n" ); document.write( "+
\n" ); document.write( "-10p-25s = -675
\n" ); document.write( "0p-19s = -385
\n" ); document.write( "rewrite
\n" ); document.write( "-19s = -385 divide both sides by -19, and remember -/- = +
\n" ); document.write( "s = 20.26
\n" ); document.write( "-----------
\n" ); document.write( "Or you can take a shortcut for the shirts:
\n" ); document.write( "145-(16.84*5))/3 = 20.26
\n" ); document.write( "-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
\n" ); document.write( "Check - Put these numbers in the original equations (I'll do one, you can do the other if you want):
\n" ); document.write( "5p+3s = 145
\n" ); document.write( "5(16.84)+3(20.26) = 145
\n" ); document.write( "84.20+60.78 = 144.98 = 145 there is a difference of 0.02 due to the rounding of decimals.
\n" ); document.write( ":
\n" ); document.write( "John\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );