I am finding Fourier transform quite hard. I am supposed to find the Fourier transform of $$f(x)=e^{-|x|}$$ I tried myself and looked at the solution sheet, but I have some questions.
How come $ \int_{-\infty}^{\infty} e^{-|x|}\sin(wx)dx = 0$?
How come they change the integration $\frac{1}{\sqrt{2\pi}}\int_{0}^{\infty} e^{-|x|}\cos(wx)dx$ = $\sqrt{\frac{2}{\pi}}\int_{0}^{\infty} e^{-|x|}\cos(wx)dx$?

In answer to your question 1, the integrand is odd so the integral is zero.
For question 2, the LHS lower limit was $-\infty$ not $0$. The integrand is even so the integral from $-\infty$ to $+\infty$ is $2\times$ the same integral from $0$ to $\infty$.