\(3\left(5x-1\right)-x\left(x-2\right)+x^2-13x=7\)
\(\Leftrightarrow15x-3-x^2+2+x^2-13x=7\)
\(\Leftrightarrow2x-1=7\)
\(\Leftrightarrow2x=8\)
\(\Leftrightarrow x=\frac{8}{2}=4\)
\(3\left(5x-1\right)-x\left(x-2\right)+x^2-13x=7\)
\(\Leftrightarrow15x-3-x^2+2x+x^2-13x=7\)
\(\Leftrightarrow4x-3=7\)
\(\Leftrightarrow4x=10\)
\(\Leftrightarrow x=\frac{5}{2}\)