Given:
The cordinates are (1, 2) and (5, 10).
Aim:
We need to find the equation of the line.
Explanation:
Consider the line equation.
[tex]y=mx+b[/tex]Substitute x=1 and y=2 in the equation.
[tex]2=m\left(1\right)+b[/tex][tex]b=2-m[/tex]Substitute x=5 and y=10 in the line equation.
[tex]10=m\left(5\right)+b[/tex][tex]10=5m+b[/tex]Substitute b=2-m in the equation to find the values of m.
[tex]10=5m+2-m[/tex]Solve for m.
[tex]10-2=5m-m[/tex][tex]8=4m[/tex][tex]m=\frac{8}{4}[/tex][tex]m=2[/tex]We get m=2.
Substitute m=2 in the equation b =2-m to find the values of b.
[tex]b=2-2=0[/tex]We get b=0.
Substitute m=2 and b=0 in the line equation.
[tex]y=2x+0[/tex]Final answer:
The line equation is
[tex]y=2x[/tex]