Answer
(a) $-4$
(b) $(-\infty,-4)$
Work Step by Step
Use the given figure, we have:
$\text{(a)}$ The solution to $f(x)=g(x)$ is the $x$-coordinate of their graph's point of intersection.
The lines intersect at $(-4,6)$. Thus the solution is $x=-4$
$\text{(b)}$ $f(x)\gt g(x)$ means the value ($y$-coordinate) of $f(x)$ is greater than the value of $g(x)$. We can see that the graph of $f(x)$ above the graph of $g(x)$ for $x<-4$.. The solutions are to the left of the point of intersection, thus $x\lt -4$ or $(-\infty,-4)$