Let P1=(1,−2)andP2=(−3,6).
First, calculate the slope between the two points.
Next, use the slope-intercept form to calculate the intercept. We are able to plug in our value for the slope, as well the the values for P1.
Using slope-intercept form, where we know m=−2 and b=0, we can see that the equation for this line is y=−2x.