a) \(3x\left(x+1\right)-2\left(x+3\right)+5\left(x+7\right)\)
\(=3x^2+3x-2x-6+5x+35\)
\(=3x^2+6x+29\)
b) \(4\left(x^2-3x+5\right)-4\left(x^2+5x\right)-3x\left(x-7\right)\)
\(=4x^2-12x+20-4x^2-20x-3x^2+21x\)
\(=-3x^2-11x+20\)
c) \(3x\left(x-3\right)-2x\left(3-5x\right)-7\left(x-1\right)\)
\(=3x^2-9x-6x+10x^2-7x+7\)
\(=13x^2-22x+7\)
_______________
a) \(3x\left(x-3\right)-5\left(3x+x^2\right)=0\)
\(\Leftrightarrow3x^2-9x-15x-5x^2=0\)
\(\Leftrightarrow-2x^2-24x=0\)
\(\Leftrightarrow-2x\left(x+12\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x+12=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\\x=-12\end{matrix}\right.\)