Step 1: We need to use slope formula* to determine what m (or the slope) is.
[tex]m = \frac{6 - (-12)}{1 - (-5)}\\\\m = \frac{18}{6} = 3[/tex]
Step 2: Now we use this slope, ONE of the given points, and slope-intercept form** to determine b.
[tex]6 = 3(1) + b\\\\6 = 3 + b\\\\3 = b[/tex]
Step 3: The final answer can now be found by using the slope and y-intercept (or b) that we just found.
[tex]y = 3x + 3[/tex]
*Slope formula
[tex]m = \frac{y_{2} - y_1}{x_2 - x_1}[/tex]
*Slope-intercept Formula
[tex]y = mx + b[/tex]