The slope-intercept form: y = mx + b
m - slope
b - y-intercept
We have y-intercept b = 2. Therefore y = mx + 2.
x-intercept = -1 for y = 0. Substitute:
0 = m(-1) + 2 subtract 2 from both sides
-2 = -m change the signs
m = 2
Therefore y = 2x + 2.
The standard form: Ax + By = C.
2x + 2 = y subtract 2 from both sides
2x = y - 2 subtract y from both sides
2x - y = -2