document.write( "Question 945246: A teacher has to buy 6 snack. Snack A costs $4.75 and snack B costs $6.25. If he spends $34.50, determine the number of each type of snack bought
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #576447 by fion6002(19) ![]() You can put this solution on YOUR website! let x be the number of Snack A \n" ); document.write( "let (6-x) be the number of Snack B (since we know teacher bought 6 snacks, x of them are Snack A, then the numbers left 6-x must be for snack B)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "4.75x + 6.25(6-x) = 34.50 \n" ); document.write( "4.75x + 37.5 - 6.25x = 34.50 \n" ); document.write( "-1.5x = -3 \n" ); document.write( "1.5x = 3 \n" ); document.write( "x = 2\r \n" ); document.write( "\n" ); document.write( "Snack A = x = 2 \n" ); document.write( "Snack B = 6-x = 6-2 = 4 \r \n" ); document.write( "\n" ); document.write( "Therefore the teacher bought 2 snack A and 4 snack B \n" ); document.write( " |