Answer: y= 13/3−x/3
Explanation:
The slope of a line passing through two points P=(x1,y1) and Q=(x2,y2) is given by m=y2−y1x2−x1.
We have that x1=−2, y1=5, x2=1, y2=4.
Plug the given values into the formula for a slope: m=4−(5)1−(−2)=−13.
Now, the y-intercept is b=y1−mx1 (or b=y2−mx2, the result is the same).
b=5−(−13)(−2)=13/3
Finally, the equation of the line can be written in the form y=b+mx:
y=13/3−x/3