document.write( "Question 243115: Factorise;
\n" ); document.write( "axy-ay+ax-a\r
\n" ); document.write( "\n" ); document.write( "I think I've got the correct answer;
\n" ); document.write( "(ay+a)(x-1)
\n" ); document.write( "but I kind of just did trial and error. I was wondering if there's a faster or more straight forward way of getting there?
\n" ); document.write( "Thanks SO much again (you guys are AWESOME!)
\n" ); document.write( "manda
\n" ); document.write( "

Algebra.Com's Answer #178136 by edjones(8007)\"\" \"About 
You can put this solution on YOUR website!
You almost got it.
\n" ); document.write( "axy-ay+ax-a
\n" ); document.write( "=ay(x-1)+a(x-1) factoring by grouping.
\n" ); document.write( "=(ay+a)(x-1)
\n" ); document.write( "=a(y+1)(x-1)
\n" ); document.write( ".
\n" ); document.write( "Ed
\n" ); document.write( "
\n" );