The fundamental theorem of Calculus

A function f is given piecewise by the formula

a. Determine the exact value of the net signed area enclosed by f and the x-axis on the interval [2, 5].

b. Compute the exact average value of f on [0, 5].

c. find a formula for a function g on 5