Determine if the relation shown is a function. Define the do…