find an equation of the line containing the given pair of points. Express your answer in the form x =a,y=b or y=mx+b (-1,_1) and (9,9) what is an equation of the line?

can anyone help me please I do not understand how to do this problem

To find the equation of a line containing two points, you can use the point-slope form equation:

(y - y1) = m(x - x1),

where (x1, y1) is one of the given points, and m represents the slope of the line.

Given the points (-1, -1) and (9, 9), we can calculate the slope using the formula:

m = (y2 - y1) / (x2 - x1),

where (x1, y1) = (-1, -1) and (x2, y2) = (9, 9).

Substituting in the values:

m = (9 - (-1)) / (9 - (-1)),
m = 10 / 10,
m = 1.

Now, let's choose the point (-1, -1) and use the point-slope form equation to find the equation of the line:

(y - (-1)) = 1(x - (-1)),
(y + 1) = (x + 1).

Simplifying the equation, we get:

y + 1 = x + 1.

Rearranging the equation to the slope-intercept form (y = mx + b), we have:

y = x - 1.

Therefore, the equation of the line containing the given points is y = x - 1.