Write the equation of a line that passes through the point (-1,2) that has a y-intercept of (0,-1).

PLS HELP QUICK I NEED TO UNDERSTAND THIS I HAVE A FINAL TMRW