Intermediate Algebra (6th Edition)

$y=-x+3$
We are given that two points on the line are $(-2,5)$ and $(-4,7)$. First, we find the slope of the line using the slope formula. $m=\frac{7-5}{-4-(-2)}=-\frac{2}{2}=-1$ Next, we use one of the given points to write an equation for the line using point-slope form. $y-y_{1}=m(x-x_{1})$ $y-5=-1(x-(-2))=-1(x+2)$ Use the distributive property to simplify the right side. $y-5=-x-2$ Add 5 to both sides. $y=-x+3$