The slope of a line that passes through points (x1, y1) and (x2, y2) is:
Replacing with the points (1, -2) and (2, 4),
The slope-intercept form of a line is:
y = mx + b
where m is the slope and b is the t-intercept
Replacing with point (1, -2) and m = 6:
-2 = 6(1) + b
-2 = 6 + b
-2 - 6 = b
-8 = b
Then, the equation is:
y = 6x - 8