explain how to write a function roll from the table below then write a function role. x 2 4 6

y 1 0 -1

note that as x changes by 2, y changes by -1

So the slope is -1/2
So start with y = -1/2 x
But, y(2) = 1, not -1
So, y = -1/2 x + 2