The function is given
Write the function f with linear functions at appropriately selected intervals.
Calculate the zeros of the function f.
Draw a graph of the function f.
Calculate the intersection of the function f with the line with the equation