find the domain and range. state whether each set of ordered pairs is a function or not.

set A: [(0,-8),(1,-1),(-7,-9),(4,3),(-6,6)]

set B: [(1,0),(-9,9),(6,8),(6,7),(-7,5)]​