Answer
$y=-x+2$ or $x+y=2$
Work Step by Step
Step 1. Given two points $(-1,3),(1,1)$, we can find the slope $m=\frac{3-1}{-1-1}=-1$.
Step 2. Use either point (2nd point used here), we can write the equation as $y-1=-(x-1)$ or $y=-x+2$ or $x+y=2$