document.write( "Question 804306: A shirt and a pair of pants cost $47.
\n" ); document.write( "the shirt costs $1 less than 1/2 of what the pants cost.
\n" ); document.write( "how much did the shirt cost?
\n" ); document.write( "

Algebra.Com's Answer #484694 by erica65404(394)\"\" \"About 
You can put this solution on YOUR website!
shirt=x pants=y
\n" ); document.write( "\"x%2By=47\"
\n" ); document.write( "\"x=%281%2F2%29y-1\"
\n" ); document.write( "we want to solve for x
\n" ); document.write( "\"y=-x%2B47\"
\n" ); document.write( "plug into \"x=%281%2F2%29y-1\"
\n" ); document.write( "\"x=%281%2F2%29%28-x%2B47%29-1\"
\n" ); document.write( "\"x=%28%28-1%29%2F2%29x%2B23.5-1\"
\n" ); document.write( "\"1%281%2F2%29x=22.5\"
\n" ); document.write( "\"x=15\"
\n" ); document.write( "The shirt is $15.
\n" ); document.write( "
\n" );