a: Ta có: \(\left(5x+1\right)^2-\left(5x-3\right)\left(5x+3\right)=30\)
\(\Leftrightarrow25x^2+10x+1-25x^2+9=30\)
\(\Leftrightarrow10x=20\)
hay x=2
b: Ta có: \(\left(x-1\right)\left(x^2+x+1\right)-x\left(x+2\right)\left(x-2\right)=5\)
\(\Leftrightarrow x^3-1-x^3+4x=5\)
\(\Leftrightarrow4x=6\)
hay \(x=\dfrac{3}{2}\)