document.write( "Question 1183070: John went to his favorite Young Men clothing store and bought himself a new shirt, pants and pair of shoes. His pants cost twice as much as his shirt. His shoes cost $50 less than twice the cost of his pants. With 8% sales tax, he paid a total of $324. What was the cost of each of the item? \n" ); document.write( "
Algebra.Com's Answer #813220 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "s = cost of shirt
\n" ); document.write( "p = cost of pants
\n" ); document.write( "h = cost of shoes
\n" ); document.write( "All costs are in dollars. These costs are before tax and they don't involve anything like coupons, discounts, sales promotions, etc.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"his pants cost twice as much as his shirt\" means
\n" ); document.write( "p = 2s\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "His shoes cost $50 less than twice the cost of his pants tells us that
\n" ); document.write( "h = 2p-50\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Plug in the previous equation we set up to get
\n" ); document.write( "h = 2p-50
\n" ); document.write( "h = 2(2s)-50
\n" ); document.write( "h = 4s-50
\n" ); document.write( "This way, we have both p and h in terms of s.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The total cost of everything, before tax, is:
\n" ); document.write( "T = s+p+h
\n" ); document.write( "T = s+2s+4s-50
\n" ); document.write( "T = 7s-50
\n" ); document.write( "Again, this is before tax.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "With the 8% tax considered, we multiply that value of T by 1.08
\n" ); document.write( "So 1.08*(7s-50) represents the final cost after tax is considered.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Set this equal to 324 and solve for s
\n" ); document.write( "1.08*(7s-50) = 324
\n" ); document.write( "7s-50 = 324/1.08
\n" ); document.write( "7s-50 = 300
\n" ); document.write( "7s = 300+50
\n" ); document.write( "7s = 350
\n" ); document.write( "s = 350/7
\n" ); document.write( "s = 50
\n" ); document.write( "The shirt costs $50\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use this to find the value of p
\n" ); document.write( "p = 2s
\n" ); document.write( "p = 2*50
\n" ); document.write( "p = 100
\n" ); document.write( "The pair of pants cost $100\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then use that value of p to find h
\n" ); document.write( "h = 2p-50
\n" ); document.write( "h = 2*100-50
\n" ); document.write( "h = 200-50
\n" ); document.write( "h = 150
\n" ); document.write( "The pair of shoes cost $150\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Or you could compute it like this
\n" ); document.write( "h = 4s-50
\n" ); document.write( "h = 4*50-50
\n" ); document.write( "h = 200-50
\n" ); document.write( "h = 150
\n" ); document.write( "Either way, we get the same value of h.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note that the total cost before sales tax is
\n" ); document.write( "s+p+h = 50+100+150 = 300
\n" ); document.write( "Then we pay 0.08*300 = 24 dollars in sales tax to get a total cost of 300+24 = $324
\n" ); document.write( "Or we could say as a shortcut: 1.08*300 = 324
\n" ); document.write( "This helps confirm the answers.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answers:
\n" ); document.write( "Shirt costs $50
\n" ); document.write( "Pants cost $100
\n" ); document.write( "Shoes cost $150
\n" ); document.write( "
\n" ); document.write( "
\n" );