A line passes through the point (-1,3) and has a slope of -2. What is the equation of the lind in slope intercept form?

A: y=2x+5
B: y=-2x+5
C: y=2x+1
D: y=-2x+1

Please Explain your work! Thanks