\(\dfrac{3x-1}{40-5x}=\dfrac{25-3x}{5x-34}\\ \Leftrightarrow\left(3x-1\right)\left(5x-34\right)=\left(25-3x\right)\left(40-5x\right)\\ \Leftrightarrow15x^2-102x-5x+34=1000-125x-120x+15x^2\\ \Leftrightarrow15x^2-15x^2-102x-5x+125x+120x=1000-34\\ \Leftrightarrow138x=966\\ \Leftrightarrow x=\dfrac{966}{138}\\ \Leftrightarrow x=7\)