The coefficient M of the independent variable x is defined as the slope, while the intercept, B, is the value of the constant added to that quantity. In this case, our slope, M, is 2 and B, our "y-intercept" (so called because y equals this value when x = 0) is -8.