Let
\(f(x) = \left\{ \begin{array}{cl} -x + 3 & \text{if } x \le 0, \\ 2x - 5 & \text{if } x > 0. \end{array} \right.\)
How many solutions does the equation have?
The equation f(f(x)) = 4 has 5 solutions.