write in standard form (1,4) (5,7)

m = y/x = 7-4/5-1 = 3/4

y = mx + b
Plug in 1 for x and 4 for y and solve for b.
=============
another way.
Substitute x and y values for the equation y = mx + b.
4=m(1) + b
7=m(5) + b
You have two equations and two unknowns. Solve for m and b, then put in y = mx + b form.