Answer:
Given that to find the equation of the line that passes through the two points.
we know that,
Equation of the line that passes through the two points (x1,y1) and (x2,y2) is
Substitute the values, x1=0, y1=6, x2=6, y2=18
we get,
Answer is: The required equation of a line is y = 2x + 6.