i am trying to find the function equation knowing what x and y are.

table:
x | 0 | 9 | 8 | -3 | 2 | -5 | 20
f(x) | -1 | 4 | 4 | 2 | 9 | 8 | 0

problems:

a. f(-3)

b. f(20)

c. If f(x) = 9, what is x?

d. if f(x) - 4, what is x?

these are some of the problems and i need to find an equation for them.