document.write( "Question 333606: Mike bought a shirt and a package of socks. The shirt cost $17.50 more than the socks. Mike paid $30 total. How much did each cost? \r
\n" ); document.write( "\n" ); document.write( "Total= $30
\n" ); document.write( "shirt=x
\n" ); document.write( "socks=x\r
\n" ); document.write( "\n" ); document.write( "Thank you in advance!
\n" ); document.write( "

Algebra.Com's Answer #239029 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Mike bought a shirt and a package of socks. The shirt cost $17.50 more than the socks. Mike paid $30 total. How much did each cost?
\n" ); document.write( "Total= $30
\n" ); document.write( "shirt=x
\n" ); document.write( "socks=x
\n" ); document.write( "---------------
\n" ); document.write( "Why would both shirt and socks = x?
\n" ); document.write( "shirt = s
\n" ); document.write( "socks = x
\n" ); document.write( "s + x = 30
\n" ); document.write( "s = x + 17.5
\n" ); document.write( "Sub for x in the 1st equation
\n" ); document.write( "(x+17.5) + x = 30
\n" ); document.write( "2x + 17.5 = 30
\n" ); document.write( "2x = 12.5
\n" ); document.write( "x = 6.25
\n" ); document.write( "socks cost $6.25
\n" ); document.write( "-----------------
\n" ); document.write( "s = x + 17.5 = 6.25 + 17.5 = 23.75
\n" ); document.write( "The shirt cost $23.75
\n" ); document.write( "
\n" ); document.write( "
\n" );