Mark (√) against the correct answer in the following:
We know that
|x| = -x in [-2, 0)
|x| = x in [0, 2]
y = 0 – (-2) + 2 – 0
= 4