Given
$$f(x) = \{(-5,0),(-4,-2),(-2,3),(1,5),(4,2)\}$$
$$g(x) = \{(0,-2),(8,4),(-2,5),(5,-5),(3,1)\}$$
$1$) Find the domain and range of $f(g(x))$.
$2$) Find the domain and range of $g(f(x)$.
Given
$$f(x) = \{(-5,0),(-4,-2),(-2,3),(1,5),(4,2)\}$$
$$g(x) = \{(0,-2),(8,4),(-2,5),(5,-5),(3,1)\}$$
$1$) Find the domain and range of $f(g(x))$.
$2$) Find the domain and range of $g(f(x)$.
First, let me address your notation. You should have:
Then for example, the fact that $(-5,0)\in f$ is the same as saying $f(-5)=0.$
Now, there are a few ways to go about this problem. Since $f$ and $g$ are "small" functions (in the sense of cardinality), it's probably simplest to find the compositions directly. Namely, $$f\circ g:=\{(x,z)\mid \exists y,(x,y)\in g,(y,z)\in f\}$$ and $$g\circ f:=\{(x,z)\mid \exists y,(x,y)\in f,(y,z)\in g\}.$$ for instance, $(0,3)\in f\circ g,$ since $(0,-2)\in g$ and $(-2,3)\in f.$ For both compositions, the domain will be the set of first components; the range, of second components.