(0,0)(1,2)......(0,0) is the origin
slope = (2-0) / (1-0) = 2/1 or just 2
y = mx + b
slope(m) = 2
(1,2)...x = 1 and y = 2
now we sub, we r looking for b, the y intercept
2 = 2(1) + b
2 = 2 + b
2 - 2 = b
0 = b
ur equation is : y = 2x + 0...or just y = 2x