Answer
(a) $(-1,1)\cup(1,\infty)$
(b) $(-\infty,-1)\cup\{1\}$
Work Step by Step
(a) Use the given graph, the solution to $f(x)\gt0$ can be found as $(-1,1)\cup(1,\infty)$
(b) Use the given graph, the solution to $f(x)\leq0$ can be found as $(-\infty,-1)\cup\{1\}$