Primitive function/Piecewisely defined/1/Exercise

Compute the definite integral , where the function is