Câu 2:
1. \(\left(x+3\right).\left(x+7\right)=x\left(x+7\right)+3\left(x+7\right)\)
\(=x^2+7x+3x+21\)
\(=x^2+10x+21\)
2. \(\left(x+2\right).\left(3x+4\right)=x\left(3x+4\right)+2\left(3x+4\right)\)
\(=3x^2+4x+6x+8\)
\(=3x^2+10x+8\)
3.\(\left(x+6\right).\left(x-4\right)=x\left(x-4\right)+6\left(x-4\right)\)
\(=x^2-4x+6x-24\)
\(=x^2+2x-24\)
4.\(\left(x-1\right)\left(x+5\right)=x\left(x+5\right)-1\left(x+5\right)\)
\(=x^2+5x-x-5\)
\(=x^2+4x-5\)
5. \(\left(6+x\right)\left(1-3x+4x^2\right)=6\left(1-3x+4x^2\right)+x\left(1-3x+4x^2\right)\)
\(=6-18x+24x^2+x-3x^2+4x^3\)
\(=4x^3+21x^2-17x+6\)
6. \(\left(2x-3\right)\left(x^2-2x+5\right)=2x\left(x^2-2x+5\right)-3\left(x^2-2x+5\right)\)
\(=2x^3-4x^2+10x-3x^2+6x-15\)
\(=2x^3-7x^2+16x-15\)
7.\(\left(x-1\right)\left(5-x\right)=x\left(5-x\right)-1\left(5-x\right)\)
\(=5x-x^2-5+x\)
\(=-x^2+6x-5\)