The slope-intercept form:

m - slope
b - y-intercept
The formula of a slope:

We have the points (1, 3) and (2, 6). Substitute:

Therefore we have:

Put the coordinates of the point (1, 3) to the equation and calculate a value of b:

subtract 3 from both sides

Answer: y = 3x + 0 = 3x