f: Ta có: \(\left(5x-1\right)^2-\left(5x-4\right)\left(5x+4\right)=7\)
\(\Leftrightarrow25x^2-10x+1-25x^2+16=7\)
\(\Leftrightarrow-10x=-10\)
hay x=1
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}\)