Answer:
[tex]y = \frac{5}{4} x + 3 \frac{1}{4} [/tex]
Step-by-step explanation:
The equation of a line is usually written in the form of y=mx+c, where m is the gradient and c is the y-intercept.
Let's find the gradient of the line, m, first.
Gradient=[tex] \frac{y1 - y2}{x1 - x2} [/tex]
[tex]m = \frac{7 - 2}{3 - ( - 1)} \\ m = \frac{5}{3 + 1} \\ m = \frac{5}{4} [/tex]
[tex]y = \frac{5}{4} x + c[/tex]
To find the value of c, substitute a coordinate.
when x= -1, y= 2,
[tex]2 = \frac{5}{4} ( - 1) + c \\ c = 2 + \frac{5}{4} \\ c = 3 \frac{1}{4} [/tex]
Thus, the equation of the line is
[tex]y = \frac{5}{4} x + 3 \frac{1}{4} [/tex]