\(A=\left(5a-5\right)^2+10\left(a-3\right)\left(1+a\right).3a\)
\(A=25a^2-50a+25+30a\left(a-3+a^2-3a\right)\)
\(A=25a^2-50a+25+30a^2-90a+30a^3-90a^2\)
\(A=30a^3-35a^2-140a+25\)
Ta có: \(A=\left(5a-5\right)^2+10\left(a-3\right)\left(a+1\right)\cdot3a\)
\(=25a^2-50a+25+30a\left(a^2-2a-3\right)\)
\(=25a^2-50a+25+30a^3-60a^2-90a\)
\(=30a^3-35a^2-140a+25\)