Find the equation of the line passing through the points (0,1) and (-2,0). Write the equation in slope-intercept form.