Which of the following relations are functions? Give reasons. If it is a function, determine its domain and range.