The Integral given:
$$\int_{z+2}^{z+4}e^{-{|x|}}dx$$
The problem is that if we divide the integral on two parts where $(|x|\ge0$ and $|x|<0)$ we will get this equation: $$\int_{z+2}^0e^x dx+\int_0^{z+4}e^{-x}dx = 2-e^{z+2}-\frac{1}{e^{z+4}}$$ which is a solution for the interval $[-4,2]$ only. How to solve it for $(z<-4$ and $z>-2)$ ?