O FUNCTIONSDomain and range from ordered pairsSuppose that the relation S is defined as follows.S={(5, 7), (5, -6), (-1, 2), (0, -1)}Give the domain and range of S.Write your answers using set notation.domain =range=I need help with this math problem.