document.write( "Question 64234This question is from textbook An Incremental Development
\n" ); document.write( ": Hamburgers cost $2 each and pizzas cost $6 each. If the number of hamburgers was 2 more than twice the number of pizzas, and a total of $84 was spent, how many hamburgers and how many pizzas were purchased?\r
\n" ); document.write( "\n" ); document.write( "thank you!
\n" ); document.write( "

Algebra.Com's Answer #44955 by 303795(602)\"\" \"About 
You can put this solution on YOUR website!
Call the number of pizza x. The number of hamburgers must be 2x + 2.
\n" ); document.write( "The cost of pizzas at $6 will be 6x and the cost of hamburgers at $2 will be 2(2x + 2)
\n" ); document.write( "The cost should therefore be
\n" ); document.write( "6x + 2(2x + 2) = 84
\n" ); document.write( "6x + 4x + 4 = 84
\n" ); document.write( "10x + 4 = 84
\n" ); document.write( "10x + 4 - 4 = 84 - 4
\n" ); document.write( "10x = 80
\n" ); document.write( "x = 8
\n" ); document.write( "so 8 pizzas were purchased and 18 hamburgers
\n" ); document.write( "
\n" );