document.write( "Question 1176261: You and your friends go out to lunch. Sandwiches cost $7 each and drinks cost $2 each. You buy a total of 10 items for lunch and spend a total of $40. Write a system of linear equations that describes this situation. Find the solution. \n" ); document.write( "
Algebra.Com's Answer #802736 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Hi\r\n" );
document.write( "Question states:\r\n" );
document.write( "let x be the amount of sandwiches\r\n" );
document.write( " $7x + $2(10-x) = $40\r\n" );
document.write( "        $5x = $20\r\n" );
document.write( "         x = 4 sandwiches  and 6 drinks    \"10-4\"\r\n" );
document.write( "\r\n" );
document.write( "  $28 + $12 = $40 checks.\r\n" );
document.write( "Wish You the Best in your Studies.\r\n" );
document.write( "
\n" ); document.write( "
\n" );