\(4.\left(3x+y\right)^2+\left(x+y\right)^2\)
\(=3x^2+6xy+y^2+x^2-2xy+y^2\)
\(=9x^2+6xy+y^2+x^2-2xy+y^2\)
\(=10x^2-4xy+2y^2\)
\(7.\left(x-4\right)^2+\left(x+4y\right)\)
\(=x^2-8x+16+x+4y\)
\(=x^2-7x+16+4y\)
\(10.\left(2x+7\right)^2+\left(-2x-3\right)^2\)
\(=4x^2+28x+49+4x^2+12x+9\)
\(=8x^2+40x+58\)
\(12.-\left(x+1\right)^2-\left(x-1\right)^2\)
\(=-\left(x^2+2x+1\right)-\left(x^2-2x+1\right)\)
\(=-x^2-2x-1+x^2+2x-1\)
\(=4x\)
\(5.-\left(x+5\right)^2-\left(x-3\right)^2\)
\(=-\left(x^2+10x+25\right)-\left(x^2-6x+9\right)\)
\(=-x^2-10-25+x^2+6x-9\)
\(=-16x-16\)
\(8.-\left(-2x+3\right)^2-\left(5x-3\right)^2\)
\(=4x^2+12x+9-25x^2+30x-9\)
\(=-21x^2+42x\)
\(11.-\left(2x-y\right)^2-\left(x+3y\right)^2\)
\(=-4x^2+4xy-y^2-\left(x^2+6xy+9y^2\right)\)
\(=-4x^2+4xy-y^2-x^2-6xy-9y^2\)
\(=-5x^2-2xy-10y^2\)
4: =9x^2+6xy+y^2+x^2-2xy+y^2
=10x^2+4xy+2y^2
5: =-x^2-10x-25-x^2+6x-9
=-4x-34
7; \(=x^2-8xy+16y^2+x+4y\)
10: \(=4x^2+28x+49+4x^2+12x+9\)
=8x^2+40x+58
11: =-4x^2+4xy-y^2-x^2-6xy-9y^2
=-5x^2-2xy-10y^2