Integrating modulus functions is a huge problem to students. Here is a worked example for your reference.