(b)
Let the \(x\) be represented in the \(x\)-axis and the value of the function \(f(x)\) be represented in the \(y\)-axis. Local maximum is the point in the interval of consideration of the domain at which the function attains its maximum value but not the highest value. So, consider three local maximum points on the graph. Local minimum is the point in the interval of consideration of the domain at which the function attains its minimum value but not the least value. So, take two local minimum points on the curve. Draw the graph of the function \(f\) in such a way that it satisfies the given conditions as shown below in Figure:

From Figure, it is observed that the local maximum occurs at two points such that \(x = 0\) and \(x = 2\). Local minimum occurs at three points such that \(x = - 1,x = 1\) and \(x = 3\). Also, observe that the critical numbers occur at \(x = - 2\), \(x = 4\). Critical numbers can occur on local maxima and local minima. Therefore, including local maxima and minima points there are seven critical numbers. Thus, the graph has three local minima, two local maxima and seven critical numbers.