1) \(\left(5x-1\right)\left(5x+1\right)=25x^2-7x+15\)
\(\Leftrightarrow25x^2-1=25x^2-7x+15\)
\(\Leftrightarrow7x=16\Leftrightarrow x=\dfrac{16}{7}\)
2) \(\left(3x-5\right)\left(x+1\right)-\left(3x-1\right)\left(x+1\right)=x-4\)
\(\Leftrightarrow3x^2-2x-5-3x^2-2x+1=x-4\)
\(\Leftrightarrow5x=0\Leftrightarrow x=0\)