These ordered pairs represent a function:(0,2), (1,-1), (2,-4), (3,-7). Write a function rule (equation) to represent this function.
Answer choices
a.y=-3x+2
b.y=x+2
c.y=3x-7
d.y=3x+2