How do I get this form?

Short answer: you don't.
The linear term in the numerator of the integral means the form shown is not applicable. Rather, you perform the integration using partial fraction expansion.
[tex]\displaystyle\int{\frac{5x+1}{25x^2+60x-13}}\,dx=\int{\frac{5x+1}{(5x-1)(5x+13)}}\,dx\\\\=\frac{1}{35}\int{\frac{5}{5x-1}}\,dx+\frac{6}{35}\int{\frac{5}{5x+13}}\,dx[/tex]
The integral is ...
... (1/35)ln|5x-1| +(6/35)ln|5x+13| +C
_____
If the numerator of your integral were a constant, then the fractions multiplying the separate partial fraction integrals would have the same magnitude and opposite signs. You would end with the difference of logarithms, which could be expressed as the log of a ratio as shown in your problem statement.