Standard form is ax+by=c
First find the slope, (y2-y1)/(x2-x1)=(1--4)/(5-0)=5/5=1, so if we use the form:
y=mx+b we have
y=x+b, using either point, I'll use (5,1) we can solve for b
1=5+b
b=-4 so in slope intercept form we have:
y=x-4 Now we rearrange so that x and y are on one side and the constant is on the other side so that we have the standard form. Note that by convention the coefficient of x should be positive so:
y-x=-4 multiplying the entire equation by -1 we get:
x-y=4