find an equation of the line containing the giving pair of points (-2,-1),(-7-8) the equation of the line in slope =intercept form is y=

y-y1=m(x-x1)

slope=m=(y1-y2)/(x1-x2)
(-2,-1)=(x1,y1),(-7-8)=(x2,y2)

To find the equation of the line containing the given pair of points (-2, -1) and (-7, -8) in slope-intercept form (y = mx + b), we need to find the slope and the y-intercept.

Step 1: Find the Slope (m)
The slope (m) can be found using the formula:
m = (y2 - y1) / (x2 - x1)

Substituting the given points:
m = (-8 - (-1)) / (-7 - (-2))
m = (-8 + 1) / (-7 + 2)
m = -7 / -5
m = 7/5

So, the slope of the line is 7/5.

Step 2: Find the y-Intercept (b)
We can use the slope-intercept form of a line (y = mx + b) to find the y-intercept (b) by substituting one of the given points and the slope:
Using the point (-2, -1):
-1 = (7/5)(-2) + b
-1 = -14/5 + b

To isolate b, we can add 14/5 to both sides:
-1 + 14/5 = -14/5 + b + 14/5
-5/5 + 14/5 = b
9/5 = b

So, the y-intercept is 9/5.

Step 3: Write the Equation
Now that we have the slope (m = 7/5) and the y-intercept (b = 9/5), we can substitute them into the slope-intercept form:
y = (7/5)x + 9/5

Therefore, the equation of the line in slope-intercept form is:
y = (7/5)x + 9/5.