By definition, the of a line written in Standard form is:
![Ax+By=C](https://img.qammunity.org/2023/formulas/mathematics/high-school/75j0pzqy8f6gtpgzjampxw030qc85p0hp7.png)
Where "A", "B" and "C" are Integers ("A" is positive).
The Slope-Intercept form of the equation of a line is:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where "m" is the slope and "b" is the y-intercept.
You know that this line passes through these points:
![(0,2);(4,10)](https://img.qammunity.org/2023/formulas/mathematics/college/ree9ilxrrc63lri6mto2dcw89ylsu48l3q.png)
By definition, the value of "x" is zero when the line intersects the y-axis. Then, you can identify that, in this case:
![b=2](https://img.qammunity.org/2023/formulas/mathematics/high-school/2b5zs33hsxpy1s8p7qj6jbgv0428rbh37c.png)
Now you can substitute the value of "b" and the coordinates of the second point into the following equation and solve for "m":
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Then, the slope of the line is:
![\begin{gathered} 10=m(4)+2 \\ 10-2=4m \\ 8=4m \\ \\ (8)/(4)=m \\ \\ m=2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2051d4msm0vvqcx9cxv9bc5oqend1pq7dh.png)
Therefore, the equation of this line in Slope-Intercept form is:
![y=2x+2](https://img.qammunity.org/2023/formulas/mathematics/high-school/55a66me1fmp1rnhy3x5pu8v1e3wh5u5gdh.png)
To write it in Standard form, you can follow these steps:
- Subtract 2 from both sides of the equation:
![\begin{gathered} y-(2)=2x+2-(2) \\ y-2=2x \\ \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/sxezvfhybkvc2rk2q4ngrjxe2llbqua6n3.png)
- Subtract "y" from both sides of the equation:
![\begin{gathered} y-2-(y)=2x-(y) \\ -2=2x-y \\ 2x-y=-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/sv5ip7kkovvzr6o7dklj2ies1ezic3ul84.png)
The answer is:
![2x-y=-2](https://img.qammunity.org/2023/formulas/mathematics/college/s99kkoe4lyjy31ocibykfo37avj15egva9.png)