Hi
Using the point-slope formula,
P(0, -4),
Q(5, 1) m = (-4-1) / (0-5) = -5/-5 = 1
Using the standard slope-intercept form for an equation of a line y = mx + b
where m is the slope and b the y-intercept.
y = 1*x + b |using ordered pair Pt(0,-4) to solve for b
-4 = 1*0 + b
-4 = b
y = x -4
x - y = 4 in standard form