Answer:
![y = 2x + 2](https://img.qammunity.org/2022/formulas/mathematics/high-school/vqlbccuzat0h4s4rz1qbs4ktfd1bh7fzel.png)
Explanation:
The equation of any (non-vertical) line can take the form
y = ax + b where a is the slope and b is the y intercept. We know that in this case, the y intercept is 2. So we can substitute b = 2:
![y = ax + 2.](https://img.qammunity.org/2022/formulas/mathematics/high-school/i4dtj0qacgtj600zicmtxxyyrx4jqldvlz.png)
Now, to find the x intercept, simply put y = 0 (since every point on the x axis has y = 0) and x = -1, since that is the given x intercept:
0 = -a + 2, so we see that a = 2. The equation is then:
y = 2x + 2