Answer:
y = 3x+4
Explanation:
slope formula is changes of y over the changes of x
![\large \boxed{m = (y_2-y_1)/(x_2-x_1) }](https://img.qammunity.org/2022/formulas/mathematics/high-school/2x8oijdnmx80ig1sc8tfy5y7jm47st9p1c.png)
m is slope in y = mx+b.
Substitute the coordinate points in.
![\large{m = (7 + 2)/(1 + 2) } \\ \large{m = (9)/(3)} \\ \large{m = 3}](https://img.qammunity.org/2022/formulas/mathematics/college/a94ijy86rijckznc2uqy4fxnc91gm8d7ts.png)
Since we know the slope, we rewrite by substituting m = 3 in the slope-intercept form.
![\large{y = mx + b} \\ \large{y = 3x + b}](https://img.qammunity.org/2022/formulas/mathematics/college/fjibptdd57kt8bhkg9ixyqsc3i57gid2e9.png)
Then we either substitute one of given coordinate points to find the value of b. I will substitute (1,7) in the equation.
![\large{7 = 3(1)+ b} \\ \large{7 = 3 + b} \\ \large{7 - 3 = b} \\ \large{4 = b}](https://img.qammunity.org/2022/formulas/mathematics/college/9hj33bmfvjk5e7qhg16cf4yfnyurc5mzi9.png)
Then rewrite the equation from y = 3x+b by substituting the value of b.
![\large{y = 3x + b} \\ \large{y = 3x + 4}](https://img.qammunity.org/2022/formulas/mathematics/college/bkz65sk42mz4ggtlugyeu5bc8wb0rju4k4.png)