Answer:
Given that to find the equation of the line that passes through the two points.
[tex]\left(0,6\right),\left(6,18\right)[/tex]we know that,
Equation of the line that passes through the two points (x1,y1) and (x2,y2) is
[tex]\frac{y-y1}{y2-y1}=\frac{x-x1}{x2-x1}[/tex]Substitute the values, x1=0, y1=6, x2=6, y2=18
we get,
[tex]\frac{y-6}{18-6}=\frac{x-0}{6-0}[/tex][tex]\frac{y-6}{12}=\frac{x}{6}[/tex][tex]y-6=\frac{12x}{6}[/tex][tex]y-6=2x[/tex][tex]y=2x+6[/tex]Answer is: The required equation of a line is y = 2x + 6.