need help with one and two

Answer:
(1) is a function, surjective aka onto,
not bijective aka one to one.
domain is {3,6,12,14,20,22},
range is {4,15,8,11}. More elements in domain means it can't possibly be one to one.
(2) is a relation but not a function, although its inverse is a function. There are fewer elements in the domain than the range, so a function could not be onto but would have to be into or injective.
The relation you get by restricting the domain to {1,19} is a function, injective, so that the image of the domain is a proper subset of the range.