document.write( "Question 273137: One serving of canned beets contains 1 gram of protein and 6 grams of carbohydrates. One serving of canned red beans contains 6 grams of protein and 20 grams of carbohydrates. How many servings of each would it take to get exactly 21 grams of protein and 78 grams of carbohydrates? \n" ); document.write( "
Algebra.Com's Answer #199589 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"s\" = a serving in grams
\n" ); document.write( "Let \"p\" = protein
\n" ); document.write( "let \"c\" = carbs
\n" ); document.write( "For canned beets:
\n" ); document.write( "\"s%5B1%5D+=+1p+%2B+6c\"
\n" ); document.write( "For red beans:
\n" ); document.write( "\"s%5B2%5D+=+6p+%2B+20c\"
\n" ); document.write( "We want
\n" ); document.write( "\"s+=+21p+%2B+78c\"
\n" ); document.write( "I notice that \"3%2As%5B2%5D+=+18p+%2B+60c\"
\n" ); document.write( "I need 3 servings of \"s%5B1%5D\" to make
\n" ); document.write( "\"21p\", since
\n" ); document.write( "\"3%2As%5B1%5D+=+3p+%2B+18c\"
\n" ); document.write( "and
\n" ); document.write( "\"3p+%2B+18c\" plus
\n" ); document.write( "\"18p+%2B+60c\" equals
\n" ); document.write( "\"21p+%2B+78c\"
\n" ); document.write( "so, I need 3 servings of beets
\n" ); document.write( "and 3 servings of red beans\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );