I would like to understand how to derive (2) from (1) below.
Problem: If $\psi_1$ is the integrated Tchebychev function below $$\psi_1(x)=\frac{1}{2\pi i} \int_{c-i\infty}^{c+i\infty}\frac{x^{s+1}}{s(s+1)} \left(\frac{-\zeta '(s)}{\zeta(s)}\right) \, ds \tag 1$$ where $c$ > 1, then $$\psi_1(x)=\frac{x^2}{2}-\sum_\rho\frac{x^{\rho+1}}{\rho(\rho+1)}-E(x)\quad(2)$$ where the sum is taken over all zeros of zeta function in the critical strip. Which error term will be $$E(x)=c_1x+c_0+\sum_{k=1}^{\infty}\frac{x^{1-2k}}{2k(2k-1)}$$ where $c_1=\frac{\zeta '(0)}{\zeta(0)}$ and $c_0=\frac{\zeta '(-1)}{\zeta(-1)}$.
Note that the usual definition of $\psi_1$ is as an integral of the Chebyshev function. See Wikipedia on the Chebyshev function for further information. There they use $\psi$ to denote what we write as $\psi_1$, and they also refer to the latter as the second Chebyshev function (and also, the smoothing function).
According to Harold Edwards in his book Riemann's Zeta Function, there are two methods for evaluating the indefinite integral (1). The first method demonstrates the validity of (1), and the second is used to derive (2). He outlines each method on pages 72-74 of his text. I will not reproduce them in full here but if the following suggestions do not get you all the way you can easily find the rest in Edwards.
Method 1. Use the expansion $-\zeta'(s)/\zeta(s)= \sum\Lambda(n)n^{-s}.$ Then (1) is $$\sum_{n=1}^{\infty}\Lambda(n)\frac{1}{2\pi i}\int_{a-i\infty}^{a+i\infty}\frac{x^{s+1} \,ds}{n^ss(s+1)},$$ where $\Lambda$ is the von Mangoldt function. Expand $\frac{1}{s(s+1)} $using partial fractions.
Method 2. Expand $-\zeta'(s)/\zeta(s)$ as $\frac{s}{s-1}-\sum_{\rho}\frac{s}{\rho(s-\rho)}+\sum_{n=1}^{\infty}\frac{s}{2n(s+2n)}- \frac{\zeta'(0)}{\zeta(0)}.$ Again you would use partial fractions, but there are algebra problems which Edwards covers in his book.
Edit: In case Edwards is not ready to hand and since it's not trivial, at least for me:
The integrand in (1) becomes:
$$\frac{-\zeta'(s)x^{s+1}}{\zeta(s)}(\frac{1}{s}-\frac{1}{s+1})= \frac{x^{s+1}}{s-1}- \sum_{\rho}\frac{x^{s+1}}{\rho(s-\rho)}+\sum_n \frac{x^{s+1}}{2n(s+2n)}-\frac{\zeta'(0)x^{s+1}}{\zeta(0)s}- \frac{x^{s+1}}{2(s-1)}+\sum_\rho \frac{x^{s+1}}{(\rho+1)(s-\rho)}- \sum_{n}\frac{x^{s+1}}{(2n-1)(s+2n)}+\frac{\zeta'(-1)x^{s+1}}{\zeta(-1)(s+1)}.$$
You can see, for example, that the first and fifth terms when integrated will combine to give you $\frac{x^2}{2}$... and so on.
Hopefully this is enough detail.