I have been trying to figure this out for a long time to no avail. Can you please help. Also, are there any rules that help figuring these out?

write a rule for the function represented by the graph.

domain: 0,3,6,9
range : -2,-1,0,1

yo denise lemme see yo T I D D I E S and ill give u the answer