Given:
The coordinates are:
Find-:
The equation of a line
Explanation-:
The general equation is:
![y=mx+c](https://img.qammunity.org/2023/formulas/mathematics/high-school/r9wr7tk2q8cfcans6j0owflua8au85op0h.png)
Where,
![\begin{gathered} m=\text{ Slope} \\ \\ (x,y)=\text{ Coordintes of line} \\ \\ c=\text{ y-intercept} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/b4vxs2jkadubvjfu74wnwhupydi5ea53re.png)
The formula of the slope is:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Choose any two points from the chart is:
![\begin{gathered} (x_1,y_1)=(-1,-5) \\ \\ (x_2,y_2)=(0,-2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/7vtqhyjufa2fgw40yakn642caeu38knayu.png)
Then the slope is:
![\begin{gathered} m=(y_2-y_1)/(x_2-x_1) \\ \\ m=(-2-(-5))/(0-(-1)) \\ \\ m=(-2+5)/(0+1) \\ \\ m=(3)/(1) \\ \\ m=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/bak9dd7tf9ruh78w2g7gzewwd7d23nd1r8.png)
If the slope of the line is 3, then the equation becomes:
![\begin{gathered} y=mx+c \\ \\ y=3x+c \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ipdyq5jjstj5po1y2qixkmhb6t0zyx8p1m.png)
The value of "c" is:
Choose any one point.
![(x,y)=(0,-2)](https://img.qammunity.org/2023/formulas/mathematics/college/7nt2tbyi6ld460nip892v4xnaqjffarbwh.png)
The value of "c" is:
![\begin{gathered} y=3x+c \\ \\ (x,y)=(0,-2) \\ \\ -2=3(0)+c \\ \\ -2=0+c \\ \\ c=-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/z7ta486kdwsoyd2ikgfsku8v5rplf8vhm2.png)
The equation of line is:
![\begin{gathered} y=mx+c \\ \\ y=3x+(-2) \\ \\ y=3x-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8vmr9e70sqy2d32z8ghbvt4f4hsqyjrwx7.png)
The equation of line is y = 3x-2