Respuesta :

first find the gradient.

y2 - y1 / x2 - x1 = ((-1) - (-6)) / (1 - 2) = 5 / -1 = -5

Then find the equation of the line

y - y1 = m(x - x1)

y - (-2) = -5(x - 2)

y + 2 = -5x + 10

y = -5x + 10 - 2

y = -5x + 8

So the equation of the line is y = -5x + 8