document.write( "Question 541506: (5x-1)^2\r
\n" ); document.write( "\n" ); document.write( "I know the answer is 25x^2-10x+1\r
\n" ); document.write( "\n" ); document.write( "But when I try to solve I only come up with 25x^2+1
\n" ); document.write( "I don't understand where the -10x comes from, \r
\n" ); document.write( "\n" ); document.write( "I appreciate any help,
\n" ); document.write( "thank you!!
\n" ); document.write( "

Algebra.Com's Answer #354196 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Here is a general case of the squaring:
\n" ); document.write( "\"+%28a+-+b%292+=+%28a+-+b%29%2A%28a+-+b%29+\"
\n" ); document.write( "\"+%28a+-+b%29%2A%28a+-+b%29+=+a%5E2+-+a%2Ab+-+a%2Ab+%2B+b%5E2+\"
\n" ); document.write( "--------------
\n" ); document.write( "Now your problem:
\n" ); document.write( "\"+%285x+-+1%29%5E2+=+%285x+-+1%29%2A%285x+-+1%29+\"
\n" ); document.write( "\"+%285x+-+1%29%2A%285x+-+1%29+=+25x%5E2+-+5x+-+5x+%2B+1+\"
\n" ); document.write( "\"+%285x+-+1%29%2A%285x+-+1%29+=+25x%5E2+-+10x+%2B+1+\"
\n" ); document.write( "In the FOIL method, the \"+-5x+\" terms come
\n" ); document.write( "from the Outer and Inner multiplications.
\n" ); document.write( "
\n" );