Now consider a different relation, between houses and the people who live in them. Yes, you can.
We can also give an algebraic expression as the input to a function. A single input of cookie size will produce different outputs of chips.
A Your age and your weight on your birthday each year. B The name of a course and the number of students enrolled in that course. Among the most important algebraic relations are functions.
Is this relation a function?