Answer:
y = 3x
Explanation:
the given co - ordinates are:
x1, y1 = 2, 6
x2, y2 = 4, 12
equation of the line is:
y = mx + b
slope, m = y2 - y1 / x2 - x1
= 12 - 6 / 4 - 2 = 6/2 = 3
let's take x1, y1 as x, y co - ordinates to find the constant, b:
6 = 3(2) + b
6 - 6 = b
b = 0
thus,
the equation of the line is:
y = 3x