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