Step-by-step explanation
The equation y = mx+b is a linear equation of a straight line where;
m is the slope
b is the intercept
Let us assume we want to find the equation of a line passing through the point (0,1) and (2, 7)
First get the slope m
m = y2-y1/x2-x1
m = 7-1/2-0
m = 6/2
m = 3
Get the y intercept 'b'
Substitute m = 3 and the point (0,1) into y = mx+b
1 = 3(0) + b
1 = 0+ b
b = 1
Get the required equation in the form y = mx+b
y = 3x + 1
Hence the required equation is y = 3x+1