(I'm leaving the photo in case I mistyped something)

$\int_0^\infty \frac{sin(x)}{x} dx$ $ = $ $\int_0^{2\pi}\sum_{n=0}^{\infty}\frac{sin(x)}{x+2n\pi}dx$ $ = $ $\int_{0}^{\pi}sin(x)(\sum_{n=0}^\infty\frac{1}{x+2n\pi}-\frac{1}{2\pi-x+2n\pi})dx$ $ = $
$\int_{0}^{\pi}sin(x)(\frac{1}{x}+\sum_{n=1}^{\infty}(\frac{1}{x+2n\pi}+\frac{1}{x-2n\pi}))dx$ $ = $ $\int_{0}^{\pi}\frac{sin(x)}{x}dx+\int_{0}^{\pi}2xsin(x)(\sum_ {n=1}^{\infty}\frac{1}{x^2-(2n\pi)^2})dx$
I'm trying to integrate $sin(x)/x$ from $0$ to $\infty$. I do that by first noticing that I can rewrite it as an integral from $0$ to $2 \pi$ and an infinite series that doesn't converge. My problem there is that I'm not sure how or even if I have to normalise the differential dx now that I'm using a shorter interval and an infinite divergent series. After that I simply do some algebraic stuff and I end up getting two different integrals. One is basically the same but only from $0$ to $\pi$ and that is where I thought that this method wasn't going to work unless I try one of the basic methods that already work with the original integral. What I thought was more interesting is how one could go about finding a different proof for the Basel problem that appears as part of the integral on the right.
BTW if you have problems with my handwriting please let me know.