Answer:
Equation of line is given as y = mx + c, where m is the gradient and c is the y-intercept.
Find the gradient of the line first.
Formula of gradient is given as y2-y1 ÷ x2-x1 or y1-y2 ÷ x1-x2, where x and y are the coordinates of the points.
Gradient = (6-2) ÷ (2-4) = -2
Eqn is y = -2x + c
Substitute either one of the coordinates of the points into the equation to find c.
2 = -2(4) + c
c = 10
Equation of the line is y = -2x + 10