Answer:
The equation of the line is:
[tex]y = -\frac{3}{2}x - 2[/tex]
Step-by-step explanation:
Equation of a line:
The equation of a line has the following format:
[tex]y = mx + b[/tex]
In which m is the slope and b is the y-intercept.
Slope:
We have two points, (-2,1) and (2,-5). The slope is given by the change in y divied by the change in x. So
Change in y: -5 - 1 = -6
Change in x: 2 - (-2) = 2 + 4 = 4
Slope: [tex]m = \frac{-6}{4} = -\frac{3}{2}[/tex]
So
[tex]y = -\frac{3}{2}x + b[/tex]
Passes through (-2, 1)
This means that when [tex]x = -2, y = 1[/tex]. We use this to find the y-intercept. So
[tex]y = -\frac{3}{2}x + b[/tex]
[tex]1 = -\frac{3}{2}(-2) + b[/tex]
[tex]1 = 3 + b[/tex]
[tex]b = -2[/tex]
So, the equation of the line is:
[tex]y = -\frac{3}{2}x - 2[/tex]