Answer
The given relation is not a function.
Domain: $\left\{5, 6\right\}$
Range: $\left\{6, 7\right\}$
Work Step by Step
RECALL:
(i) A function is a relation where every first coordinate is paired with exactly one second coordinate.
(ii) The domain of a relation is a set that contains all the first coordinates.
(iii) The range of a relation is a set that contains all the second coordinates.
Note that the first coordinates $5$ and $6$ are paired with two different second coordinates. Thus, the given relation is NOT a function.
The domain of the relation is $\left\{5, 6\right\}$.
The range of the relation is $\left\{6, 7\right\}$.