A relation is given in the table below. Write out the ordered pairs for the inverse, and then determine if the inverse is a function.
x: 1, 2, 3, 4, 5
y: 0, 1, 0, 2, 0
x: 1, 2, 3, 4, 5
y: 0, 1, 0, 2, 0