How do I find the missing numbers

Input (x) -1 0 1 2 3 4
Output (y) -1 7

1 answer

Seems as if an increase of x by one leads to an increase of y by 8.