Daniel B. answered 02/18/21
A retired computer professional to teach math, physics
I think it is possible that the statement of the problem contains a typo,
because all the constraints are on f', no constraint on f.
If there is no typo, then there is no function f' satisfying the conditions:
f'(x) < 0 si 0 < |x| < 2
implies
f'(0) < 0
yet another condition requires
f'(0) = 0