\r\n" );
document.write( "y = x² - 10x + 8\r\n" );
document.write( "\r\n" );
document.write( "Multiply coefficient of x, which is -10, by
, getting -5.\r\n" );
document.write( "Square -5, getting (-5)² = +25.\r\n" );
document.write( "\r\n" );
document.write( "Add 25 - 25 (which is really zero) to the right side after the -10x\r\n" );
document.write( "\r\n" );
document.write( "y = x² - 10x + 25 - 25 + 8\r\n" );
document.write( "\r\n" );
document.write( "Factor the first three terms on the right sides:\r\n" );
document.write( "\r\n" );
document.write( "y = (x - 5)(x - 5) - 25 + 8\r\n" );
document.write( "\r\n" );
document.write( "Write (x - 5)(x - 5) as (x - 5)², and write -25 + 8 as -17\r\n" );
document.write( "\r\n" );
document.write( "y = (x - 5)² - 17\r\n" );
document.write( "\r\n" );
document.write( "That's it.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\r
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "