Answer:
the general form of the equation of the line will be:
![y-x=2](https://img.qammunity.org/2021/formulas/mathematics/high-school/cregccrknw8bkghtjhdit6yr7f2elqklrf.png)
Explanation:
Finding the slope:
Taking two points from the line as shown in figure
Finding the slope between (-2, 0) and (0, 2)
![\mathrm{Slope}=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/nrlo6m8wdo12tyt9h1mdgp9vd4866t2plg.png)
![\left(x_1,\:y_1\right)=\left(-2,\:0\right),\:\left(x_2,\:y_2\right)=\left(0,\:2\right)](https://img.qammunity.org/2021/formulas/mathematics/high-school/q4ngy16mqcm0jbquiw1lg4ow6c71clfyv5.png)
![m=(2-0)/(0-\left(-2\right))](https://img.qammunity.org/2021/formulas/mathematics/high-school/gcc8kn22gnhkjcqdbtrc47h224l3vy4gx8.png)
![m=1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3u1ude4a5rf8cwsgprfkz7blo1powwcx1b.png)
Finding the y-intercept
We know that the y-intercept can be calculated by setting x=0
From the figure, it is clear that at x=0, y=2
Thus, the y-intercept is (0, 2)
We know that the slope-intercept form of the equation line is:
![y=mx+b](https://img.qammunity.org/2021/formulas/mathematics/middle-school/yj5waqmoy4i54laybzhhshd88hyo5w5rj5.png)
where m is the slope and b is the y-intercept
As we have already determined the slope = m = 1 and the y-intercept b=2.
Substituting the values in the slope-intercept form of the equation line
![y=mx+b](https://img.qammunity.org/2021/formulas/mathematics/middle-school/yj5waqmoy4i54laybzhhshd88hyo5w5rj5.png)
![y=(1)x+2](https://img.qammunity.org/2021/formulas/mathematics/high-school/ygwjampr9r8nfdqggh9rfizgaeintion7y.png)
![y=x+2](https://img.qammunity.org/2021/formulas/mathematics/middle-school/2ojnvcvb06p9zafxmz6fvayelrtjb2mkce.png)
Writing the equation in the standard form form
As we know that the equation in the standard form is
![Ax+By=C](https://img.qammunity.org/2021/formulas/mathematics/middle-school/eynq0jxfidskbth7tsaqatn6le9nji8qsv.png)
where x and y are variables and A, B and C are constants
As we already know the equation in slope-intercept form
![y=x+2](https://img.qammunity.org/2021/formulas/mathematics/middle-school/2ojnvcvb06p9zafxmz6fvayelrtjb2mkce.png)
so just simplify the equation to write in standard form
![y-x=2](https://img.qammunity.org/2021/formulas/mathematics/high-school/cregccrknw8bkghtjhdit6yr7f2elqklrf.png)
Thus, the general form of the equation of the line will be:
![y-x=2](https://img.qammunity.org/2021/formulas/mathematics/high-school/cregccrknw8bkghtjhdit6yr7f2elqklrf.png)