Region:
https://www.desmos.com/calculator/mnrzq5whp5
For 0 ≤ x ≤ 1 ---> x ≤ y ≤ 3x
For 1 ≤ x ≤ 2 ---> x ≤ y ≤ −x+4
Area = ∫ [0 to 1] (3x−x) dx + ∫ [1 to 2] (−x+4−x) dx
Area = ∫ [0 to 1] (2x) dx + ∫ [1 to 2] (4−2x) dx
Area = x² | [0 to 1] + (4x−x²) | [1 to 2]
Area = (1 − 0) + ((8−4)−(4−1))
Area = 2
——————————————————————————————
Alternate method:
For 0 ≤ y ≤ 2 ---> y/3 ≤ x ≤ y
For 2 ≤ y ≤ 3 ---> y/3 ≤ x ≤ −y+4
Area = ∫ [0 to 2] (y−y/3) dy + ∫ [2 to 3] (−y+4−y/3) dy
Area = ∫ [0 to 2] (2y/3) dy + ∫ [2 to 3] (4−4y/3) dy
Area = (y²/3) | [0 to 2] + (4y−2y²/3) | [2 to 3]
Area = (4/3 − 0) + ((12−6)−(8−8/3))
Area = 2