document.write( "Question 1101302: Eugene spent $14 on a magazine and some candy bars.If the magazine cost $6 and each candy bar cost $2 then how many candy bars did he buy? \r
\n" ); document.write( "\n" ); document.write( "I need help setting it up I did:
\n" ); document.write( "6+2x=14
\n" ); document.write( "-6. -6
\n" ); document.write( "2x=8
\n" ); document.write( "2. 2
\n" ); document.write( "X=8\r
\n" ); document.write( "\n" ); document.write( "but I don’t know if it right
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #715860 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "You're on the right track; however, you forgot to divide the 8 by 2. The answer is x = 4 (not x = 8)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's how you check the answer. Go back to the original equation and replace x with 4
\n" ); document.write( "6+2x = 14
\n" ); document.write( "6+2*x = 14
\n" ); document.write( "6+2*x = 14
\n" ); document.write( "6+2*4 = 14 ... replace x with 4
\n" ); document.write( "6 + 8 = 14
\n" ); document.write( "14 = 14 ... true equation\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since the last equation is true, this means the first equation is true when x = 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In other words, Eugene bought 4 candy bars spending 2*4 = 8 dollars on candy bars. This is in addition to the 6 dollars for the magazine. In total, 6+8 = 14 dollars was spent
\n" ); document.write( "
\n" ); document.write( "
\n" );