Find the expression for the cdf

We were actually given the solutions:

I understand the first part, concerning where x<0 but I don't understand when ; why do we take the limits and equation from when x<0 + the limits and equation for

Please explain this to me. Thanks.