Sketch a graph of the relation. Is the relation a function?

A.
The domain of a function is the complete set of possible values of the independent variable:
[tex]\begin{gathered} _{\text{ }}Domain\colon\mleft\lbrace-5,1,3\mright\rbrace \\ \end{gathered}[/tex]The range of a function is the complete set of possible values of the dependent variable:
[tex]_{\text{ }}Range\colon\mleft\lbrace-4,-2,0,2,4\mright\rbrace[/tex]A function is a specific type of relation in which each input value has one and only one output value.
Since:
(-5,4) and (-5,4) and (1,2) and (1,-2) belong to the relation. We can conclude that the relation is not a function.
B.
[tex]\begin{gathered} _{\text{ }}Domain\colon\mleft\lbrace-3,-1,0,1,3\mright\rbrace \\ _{\text{ }}Range\colon\mleft\lbrace-1,1,6\mright\rbrace \end{gathered}[/tex]Since:
[tex]\begin{gathered} x1\ne x2\ne x3\ne x4\ne x5 \\ -3\ne-1\ne0\ne1\ne3 \end{gathered}[/tex]We can conclude that the relation is a function