The graph of f is
So the integral can be derived from the areas of two triangles and a quarter circle. This gives