Given that the line passes through (2,-7) and have slope 3.
Find the equation of line in slope-intercept form.
The slope intercept form is
![y=mx+c](https://img.qammunity.org/2023/formulas/mathematics/high-school/r9wr7tk2q8cfcans6j0owflua8au85op0h.png)
where m is the slope and c is the y-intercept.
Here, m =3. Substitute 3 for m int the equation y= mx+c.
![y=3x+c](https://img.qammunity.org/2023/formulas/mathematics/college/uedhxwh2usau1sarf7hvutlsjy78vmzeyd.png)
Now, to find the y-intercept, plug the given point (2,-7).
![\begin{gathered} -7=3\cdot2+c \\ =6+c \\ c=-7-6 \\ =-13 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/kim91vx99atz386no8527cear9d1hs2w5o.png)
Substitute the obtained value of c into y = 3x+c.
![y=3x-13](https://img.qammunity.org/2023/formulas/mathematics/college/lyna65kyvhr0qqzqgguycc42adfxwr7ap6.png)
which is the equation of the line with slope 3 and passes through (2, -7).