Find the equation of the linear function represented by the table below in slope-intercept form.
x 0 1 2 3 4
y -8 0 8 16 24