T423

f(x) = If[x ≤ 1, (3 * x) - 1, x + 1]
a = Integral(f, 0, 2)