The form of the linear equation is
m is the slope of the line of the equation
b is the y-intercept (value of y at x = 0)
The rule of the slope of the line which passes through points (x1, y1) and (x2, y2) is
Since the line passes through points (-3, 1) and (4, 8), then
Let (x1, y1) = (-3, 1) and (x2, y2) = (4, 8), then
Substitute them in the rule of m above
Now, substitute m by 1 in the form of the equation
We need to find the value of b, to do that we will use the point (4, 8)
Substitute x by 4 and y by 2 in the equation
Subtract 4 from both sides to find b
Substitute b by 4 in the equation
The equation of the line is y = x + 4
Answer B