Suppose that the relation G is defined as follows.

G = (5, p), (7,5), (9,p)

Give the domain and range of G.
Write your answers using set notation.

Domain of G: {5, 7, 9}

Range of G: {p, 5}