William C. answered 11/03/23
Experienced Tutor Specializing in Chemistry, Math, and Physics
Like it's derivative, f(x) is a piecewise function:
f(x) = {0 ≤ x < 1 : 2x + 1, 1 ≤ x < 2 : x + 2, 2 ≤ x ≤ 3 : 6 – x}
The slope of each linear piece is given by the value of f’(x) on the same interval.
Desmos graph: desmos.com/calculator/od11vdjaji