Answer:
m = (y2 - y1) / (x2 - x1) = (10 - 6) / (3 - 1) = 2 slope of line
y = m x + b standard form of straight line
y = 2 x + b where b is the intercept at x = 0
b = y - 2 x
b = 6 - 2 = 4 from our first equation
Also, b = 10 - 6 = 4 check from second equation
y = 2 x + 4 is our equation
Check if y = 6 and x = 1 then
y = 2 * 1 + 4 = 6 verifying the first point given