Write an equation in slope-intercept form of the line that passes through $\left(-1,\ 4\right)$ and $\left(2,\ -2\right)$ .