By definition, the of a line written in Standard form is:
[tex]Ax+By=C[/tex]Where "A", "B" and "C" are Integers ("A" is positive).
The Slope-Intercept form of the equation of a line is:
[tex]y=mx+b[/tex]Where "m" is the slope and "b" is the y-intercept.
You know that this line passes through these points:
[tex](0,2);(4,10)[/tex]By definition, the value of "x" is zero when the line intersects the y-axis. Then, you can identify that, in this case:
[tex]b=2[/tex]Now you can substitute the value of "b" and the coordinates of the second point into the following equation and solve for "m":
[tex]y=mx+b[/tex]Then, the slope of the line is:
[tex]\begin{gathered} 10=m(4)+2 \\ 10-2=4m \\ 8=4m \\ \\ \frac{8}{4}=m \\ \\ m=2 \end{gathered}[/tex]Therefore, the equation of this line in Slope-Intercept form is:
[tex]y=2x+2[/tex]To write it in Standard form, you can follow these steps:
- Subtract 2 from both sides of the equation:
[tex]\begin{gathered} y-(2)=2x+2-(2) \\ y-2=2x \\ \end{gathered}[/tex]- Subtract "y" from both sides of the equation:
[tex]\begin{gathered} y-2-(y)=2x-(y) \\ -2=2x-y \\ 2x-y=-2 \end{gathered}[/tex]The answer is:
[tex]2x-y=-2[/tex]