a) \(\left(3x-1\right)\left(2x+7\right)-\left(x+1\right)\left(6x-5\right)=16\)
\(\Leftrightarrow\left(6x^2+21x-2x-7\right)-\left(6x^2-5x+6x-5\right)-16=0\)
\(\Leftrightarrow6x^2+21x-2x-7-6x^2+5x-6x+5-16=0\)
\(\Leftrightarrow18x-18=0\)
\(\Leftrightarrow18x=18\)
\(\Leftrightarrow x=18:18\)
\(\Leftrightarrow x=1\)
Vậy \(x=1\)
b) \(\left(2x+3\right)^2-2\left(2x+3\right)\left(2x-5\right)+\left(2x-5\right)^2=x^2+6x+64\)
\(\Leftrightarrow\left[\left(2x+3\right)-\left(2x-5\right)\right]^2-\left(x^2+6x+64\right)=0\)
\(\Leftrightarrow\left(2x+3-2x+5\right)^2-x^2-6x-64=0\)
\(\Leftrightarrow8^2-x^2-6x-64=0\)
\(\Leftrightarrow64-x^2-6x-64=0\)
\(\Leftrightarrow-x^2-6x=0\)
\(\Leftrightarrow x\left(-x-6\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\-x-6=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\-x=6\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x=-6\end{matrix}\right.\)
Vậy \(x=0\) hoặc \(x=-6\)