document.write( "Question 171705: Not sure what is being asked. This is a homework assignment.
\n" ); document.write( "y=x^2 - 5x + 6\r
\n" ); document.write( "\n" ); document.write( "and y=-x^2 + 2x-1\r
\n" ); document.write( "\n" ); document.write( "Thanks.
\n" ); document.write( "

Algebra.Com's Answer #126826 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
It looks like they want you to factor the equations
\n" ); document.write( "\"y+=+x%5E2+-+5x+%2B+6\"
\n" ); document.write( "Look at the constant term, \"6\"
\n" ); document.write( "Notice that \"%28-2%29%2A%28-3%29+=+6\" and \"-2+%2B+%28-3%29+=+-5\"
\n" ); document.write( "\"y+=+%28x+-+2%29%28x+-+3%29\" answer
\n" ); document.write( "----------------------
\n" ); document.write( "\"y+=+x%5E2+%2B+2x+-+1\"
\n" ); document.write( "A good method is the \"complete the square\" method
\n" ); document.write( "Set \"y+=+0\" to find the roots
\n" ); document.write( "Take 1/2 of the coefficient of \"x\", square it
\n" ); document.write( "and add it to both sides
\n" ); document.write( "First, though, add \"1\" to both sides
\n" ); document.write( "\"1+=+x%5E2+%2B+2x\"
\n" ); document.write( "\"1+%2B+%282%2F2%29%5E2+=+x%5E2+%2B+2x+%2B+%282%2F2%29%5E2\"
\n" ); document.write( "\"2+=+x%5E2+%2B+2x+%2B+1\"
\n" ); document.write( "\"2+=+%28x+%2B+1%29%5E2\"
\n" ); document.write( "Take the square root of both sides
\n" ); document.write( "\"sqrt%282%29+=+x+%2B+1\"
\n" ); document.write( "The roots of the equation are:
\n" ); document.write( "\"x+=+-1+%2B+sqrt%282%29\" and
\n" ); document.write( "\"x+=+-1+-+sqrt%282%29\"
\n" ); document.write( "The factors of the equation are
\n" ); document.write( "\"%28x+%2B+1+-+sqrt%282%29%29%28x+%2B+1+%2B+sqrt%282%29%29\"
\n" ); document.write( "Note that the factors are just \"x+-+r%5B1%5D\" and \"x+-+r%5B2%5D\"
\n" ); document.write( "where \"r%5B1%5D\" and \"r%5B2%5D\" are the roots
\n" ); document.write( "
\n" );