Find the equation of the linear function represented by the table below in slope-intercept form.
$x$0 1 2 3 4
$y$-6 4 14 24 34
$y=$
$x$ | 0 | 1 | 2 | 3 | 4 |
$y$ | -6 | 4 | 14 | 24 | 34 |