In this case, we'll have to carry out several steps to find the solution.
Step 01:
Data
point1 (-5 , -5) x1 = - 5 y1 = - 5
point2 (-2 , 1) x2 = -2 y2 = 1
equation of the line = ?
Step 02:
slope formula
point-slope form of the line
(y - y1) = m (x - x1)
(y - (-5)) = 2 (x - (-5))
y + 5 = 2 (x + 5)
y + 5 = 2x + 10
y = 2x + 10 - 5
y = 2x + 5
The answer is:
The equation of the line is y = 2x + 5