document.write( "Question 1029850: A plain hamburger requires one ground beef patty and a bun. A cheeseburger requires one ground beef patty, one slice of cheese, and a bun. A double cheeseburger requires two ground beef patties, two slices of cheese, and a bun. \r
\n" ); document.write( "\n" ); document.write( " Frozen hamburger patties are typically sold in packs of 12; hamburger buns, in packs of 8; and cheese slices, in packs of 24. \r
\n" ); document.write( "\n" ); document.write( " A family is in charge of providing burgers for a neighborhood block party. They have purchased 14 packs of buns, 12 packs of hamburger patties, and 3 packs of cheese slices. How many of each type of sandwich should they make if they want to use up all of the buns, patties, and cheese slices?\r
\n" ); document.write( "\n" ); document.write( "plain hamburgers _____
\n" ); document.write( "cheeseburgers ______
\n" ); document.write( "double cheeseburgers ______
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #644903 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
We start by giving variable names that will work as placeholders for the values we need to find:
\n" ); document.write( "\"p\"= number of plain burgers,
\n" ); document.write( "\"c\"= number of cheeseburgers,
\n" ); document.write( "\"d\"= number of double cheeseburgers.
\n" ); document.write( "(Some people like to use \"x\" , \"y\", and \"z\"
\n" ); document.write( "but I like variable names that remind of their meaning).
\n" ); document.write( "
\n" ); document.write( "All the burgers require \"1\" bun per burger,
\n" ); document.write( "so \"p%2Bc%2Bd\" buns are needed,
\n" ); document.write( "and \"14%2A8\" buns are available(14 packs of 8 buns per pack).
\n" ); document.write( "That gives us the equation
\n" ); document.write( "\"p%2Bc%2Bd=14%2A8\" , or \"p%2Bc%2Bd=112\" .
\n" ); document.write( "
\n" ); document.write( "The plain burgers, and the cheeseburgers require one patty each,
\n" ); document.write( "but each double cheeseburger required 2 patties,
\n" ); document.write( "so the number of frozen hamburger patties required is
\n" ); document.write( "\"p%2Bc%2B2d\" ,
\n" ); document.write( "and \"12%2A12\" patties area available (12 packs, with 12 frozen hamburger patties per pack).
\n" ); document.write( "That gives us the equation
\n" ); document.write( "\"p%2Bc%2B2d=12%2A12\" , or \"p%2Bc%2B2d=144\" .
\n" ); document.write( "
\n" ); document.write( "A plain hamburger requires no cheese,
\n" ); document.write( "while a cheeseburger requires one slice of cheese,
\n" ); document.write( "and a double cheeseburger required 2 slices,
\n" ); document.write( "so \"c%2B2d\" slices of cheese will be needed.
\n" ); document.write( "There area \"3%2A24\" slices of cheese available (3 packs, with 24 slices per pack),
\n" ); document.write( "and that gives us the equation
\n" ); document.write( "\"c%2B2d=3%2A24\" or \"c%2B2d=72\" .
\n" ); document.write( "
\n" ); document.write( "The three equation form the easy system of linear equations
\n" ); document.write( "\"system%28p%2Bc%2Bd=112%2Cp%2Bc%2B2d=144%2Cc%2B2d=72%29\" .
\n" ); document.write( "Subtracting the first equation from the second, we get
\n" ); document.write( "\"highlight%28d=32%29\" .
\n" ); document.write( "Substituting that value in the third equation we get
\n" ); document.write( "\"c%2B2%2A32=72\" --> \"c%2B64=72\" --> \"c=72-64\" --> \"highlight%28c=8%29\" .
\n" ); document.write( "Substituting the values found for \"c\" and \"d\" into the first equation we get
\n" ); document.write( "\"p%2B8%2B32=112\" --> \"p%2B40=112\" --> \"p=112-40\" --> \"highlight%28p=72%29\" .
\n" ); document.write( "
\n" ); document.write( "plain hamburgers 72
\n" ); document.write( "cheeseburgers 8
\n" ); document.write( "double cheeseburgers 32.
\n" ); document.write( "
\n" );