Answer:
y = -2x -9
Step-by-step explanation:
1. find the midpoint of the coordinates given
2. find the gradient of the line
3. make the equation
formula of the midpoint is
[tex]\frac{x2 + x1}{2} , \frac{y2 + y1}{2}[/tex]
now place the values in the equation :
[tex]\frac{-4 +-2}{2} , \frac{-5 + -1 }{2}[/tex]
midpoint = ( -3 , -3)
formula of finding the gradient
[tex]\frac{y2-y1}{x2-x1}[/tex]
insert the values in the equation:
[tex]\frac{-5-(-1)}{-2-(-4)}[/tex]
=[tex]\frac{-4}{2} = -2[/tex]
gradient = -2
use the formula of the equation :
[tex](Y - y1) = m( X - x1)[/tex]
now make use of the gradient(m) and the midpoints and insert into the equation
(y-(-3)) = -2(x -(-3))
hence
y+3 = -2 (x +3)
y= -2x -6 -3