You can
put this solution on YOUR website!First let's find the midpoint of the segment through (-1, 6) and (-7, -4)
In order to find the midpoint between the points (-1, 6) and (-7, -4), we need to average each corresponding coordinate. In other words, we need to add up the corresponding coordinates and divide the sum by 2.
So lets find the averages between the two points
To find

, average the x-coordinates between the two points
So the x-coordinate of the midpoint is -4 (i.e. x=-4)
-----------------------------------------------------------------------------------------------------------------
To find

, average the y-coordinates between the two points
So the y-coordinate of the midpoint is 1 (i.e. y=1)
So the midpoint is (-4,1)
Now let's find the equation of the line with a slope of

and goes through the point (-4,1)
If you want to find the equation of line with a given a slope of

which goes through the point (

,

), you can simply use the point-slope formula to find the equation:
---Point-Slope Formula---

where

is the slope, and
)
is the given point
So lets use the Point-Slope Formula to find the equation of the line

Plug in

,

, and

(these values are given)

Rewrite

as

Distribute

Multiply

and

to get

Add 1 to both sides to isolate y

Combine like terms

and

to get

(note: if you need help with combining fractions, check out this
solver)
------------------------------------------------------------------------------------------------------------
Answer:
So the equation of the line with a slope of

which goes through the point (

,

) is:

which is now in

form where the slope is

and the y-intercept is
Notice if we graph the equation

and plot the point (

,

), we get (note: if you need help with graphing, check out this
solver)
Graph of
through the point (
,
)
and we can see that the point lies on the line. Since we know the equation has a slope of
and goes through the point (
,
), this verifies our answer.