Answer
$y=-2x+1$
Work Step by Step
We are given the points $(-2,5)$ and $(-6,13)$. We can use the slope formula to find the slope of a line going through these points.
$m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\frac{13-5}{-6-(-2)}=\frac{8}{-4}=-2$
Next, we can use this slope and one of the given points to write the line in the point slope form $y-y_{1}=m(x-x_{1})$.
$f(x)=y-5=-2(x+2)=-2x-4$
Add 5 to both sides.
$y=-2x+1$