In this problem, this line has a slope , that is, this is an horizontal straight line. The intercept is the point , so . Finally, by substituting these values we have:
Lastly, this solution is shown in the figure below.
The graph equation is y=mx+b. {The b is the y-intercept (0,b)}. There is no slope (mx) because the line doesn't go up or down. The y-intercept is (0,-2) so b=-2.