Let
f(x) = x + 3 if x <= 0
f(x) = 2x + 5 if x > 0
How many solutions does the equation f(f(x)) = 4 have?
There are 6 solutions.