It was written that using Fubini's Theorem for a positive function $w$ and $p>0$, the following relation holds \begin{equation*} p\int_t^\infty \frac{1}{s^{p+1}}\left( \int_0^s w(x) \, dx\right) \, ds=\int_t^\infty \frac{w(s)}{s^p} \, ds+\frac{\int_0^t w(x) \, dx}{t^p}.\tag1 \end{equation*}
My try for this, as follows by applying Fubini's Theorem
\begin{eqnarray*} p\int_t^\infty \frac{1}{s^{p+1}}\left( \int_0^s w(x) \, dx\right)\, ds &=&p\int_t^\infty w(x)\left( \int_t^\infty \frac{1}{s^{p+1}} \, ds\right) dx \\ &=&\int_t^\infty w(x)\left. \frac{1}{s^p}\right\vert_\infty^t \, dx \\ &=&\int_t^\infty w(x)\frac{1}{t^p} \, dx. \end{eqnarray*}
Which obviously gives only one term from the required relation $(1).$ Any help with this, please.

\begin{align} & \int_t^\infty \frac{1}{s^{p+1}}\left( \int_0^s w(x) \, dx\right) \, ds \\[12pt] = {} & \iint\limits_{x,s\,:\,t\,<\, s\ \&\ 0\,<\,x\,<\, s} \frac 1 {s^{p+1}} w(x) \, d(x,s) \\[12pt] = {} & \iint\limits_{\big(x,s\,:\,t\,<\,x\,<\,s\big)} + \iint\limits_{\big( x,s\,:\,0\,< \,x\, < \,t\,<\,s\big)} \end{align}