Find the exact ans:

modulus: e^{2x} - e^{-2(x-1)} dx

the solution given was to be

\int_{-1}^{0.5} e^{2x} - e^{-2(x-1)} dx + \int_{0.5}^1 {e^{2x}-e^{-2(x-1)} dx

I dont understand why there is a need to do this. Why cant we integrate directly? Why is it 0.5?

Sorry i didnt why Latex couldnt work. i tried a lot of times