let p be a set of people, and let q be a set of occupations. define a function f : p → q by setting f(p) equal to p's occupation. what must be true about the people in p for f to be a well-defined function?