document.write( "Question 758341: I have an algebra problem. What it is is a letter from a basic math student and I need to come up with the equation and the answer then be able to explain it to them in a simple way they can understand.
\n" ); document.write( "Here is the basic math students question.. During his shift at the school carnival he sold 112 drinks. He thought he only needed to keep track of the total amount of drinks sold, but it turns out they want to know how many bottles of water and how many bottles of soda were sold as separate numbers. The question is: If the number of bottles of water sold was 4 less than 3 times the number of bottles of soda, how many of each did he sell ?\r
\n" ); document.write( "\n" ); document.write( "I have to figure out the answer ( how many water and how many sodas) explain how i set up the equation and solved it. So in case the situation happens again they could answer the question.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #461439 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
During his shift at the school carnival he sold 112 drinks.
\n" ); document.write( " He thought he only needed to keep track of the total amount of drinks
\n" ); document.write( " sold, but it turns out they want to know how many bottles of water
\n" ); document.write( " and how many bottles of soda were sold as separate numbers.
\n" ); document.write( " The question is: If the number of bottles of water sold was 4 less
\n" ); document.write( " than 3 times the number of bottles of soda, how many of each did he sell?
\n" ); document.write( ":
\n" ); document.write( "Let w = no. of bottles of water sold
\n" ); document.write( "Let s = no. of bottles of soda
\n" ); document.write( ":
\n" ); document.write( "Total sold equation
\n" ); document.write( "w + s = 112
\n" ); document.write( "w = (112-s); use this for substitution
\n" ); document.write( ":
\n" ); document.write( "\"the number of bottles of water sold was 4 less
\n" ); document.write( " than 3 times the number of bottles of soda,\"
\n" ); document.write( "w = 3s - 4
\n" ); document.write( "A big mistake here. Let me correct this
\n" ); document.write( "Replace w with (112-s)
\n" ); document.write( "112-s = 3s - 4
\n" ); document.write( "112 + 4 = 3s + s
\n" ); document.write( "116 = 4s
\n" ); document.write( "s = 116/4
\n" ); document.write( "s = 29 sodas
\n" ); document.write( "then
\n" ); document.write( "w = 112 - 29
\n" ); document.write( "w = 83 waters sold
\n" ); document.write( ":
\n" ); document.write( "See if that checks out in the statement:
\n" ); document.write( "\"the number of bottles of water sold was 4 less
\n" ); document.write( " than 3 times the number of bottles of soda,
\n" ); document.write( "83 = 3(29) - 4
\n" ); document.write( "83 = 87 - 4
\n" ); document.write( "
\n" ); document.write( "
\n" );