document.write( "Question 1023756: linear equations with substitution and graphing-
\n" ); document.write( "3x-y=2
\n" ); document.write( "-6x+2y=6
\n" ); document.write( "

Algebra.Com's Answer #639197 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
In how many ways can six students be seated in a row of 6 desks?
\n" ); document.write( "
\r\n" );
document.write( "Suppose the students are A, B, C, D, E, and F\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "a) if two of the six students insist on sitting
\n" ); document.write( "next to each other
\n" ); document.write( "
\r\n" );
document.write( "Suppose the students who insist on sitting next \r\n" );
document.write( "to each other are A and B.\r\n" );
document.write( "\r\n" );
document.write( "Then there are two cases of arranging 5 \"things\"\r\n" );
document.write( "in a row.\r\n" );
document.write( "\r\n" );
document.write( "Case 1:  The 5 \"things are AB, C, D, E, and F\r\n" );
document.write( "\r\n" );
document.write( "That's 5!\r\n" );
document.write( "\r\n" );
document.write( "Case 2: 5 \"things are BA, C, D, E, and F\r\n" );
document.write( "\r\n" );
document.write( "That's also 5!\r\n" );
document.write( "\r\n" );
document.write( "Answer 5! + 5! = 120 + 120 = 240 ways.\r\n" );
document.write( "

\n" ); document.write( "b) if two of the six students refuse to sit next
\n" ); document.write( "to each other
\n" ); document.write( "
\r\n" );
document.write( "First we find the number of ways they can sit\r\n" );
document.write( "without restrictions:\r\n" );
document.write( "\r\n" );
document.write( "That's 6! = 720\r\n" );
document.write( "\r\n" );
document.write( "Then we subtract the 240 ways from the first \r\n" );
document.write( "part of the problem:\r\n" );
document.write( "\r\n" );
document.write( "720 - 240 = 480 ways.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );