Solution
= Solution
Use the angular-frequency <Fourier transform> convention
$$
\widetilde f(k)=\int_{-\infty}^{\infty}f(x)e^{-ikx}\,dx,\qquad
f(x)=\frac1{2\pi}\int_{-\infty}^{\infty}\widetilde f(k)e^{ikx}\,dk.
$$
For the piecewise smooth functions here, the inverse gives the function at continuity points and the mean of one-sided limits at a jump. Values assigned at individual points do not affect the transform.