Given the points (2,-1) and (1,3), we find the slope of the line that passes through them with the formula:

Then, in this case we have:

We have that the slope is -4. Now we use the first point to write the equation of the line in point-slope form:

therefore, the equation in point-slope form is y+1=-4(x-2)