Given two points (x₁, y₁) and (x₂, y₂), the slope of the line that passes through these two points is given by the equation:
Now, for our problem, we identify these two points:
Using the previous equation to calculate the slope of the line:
Now, using the point-slope form of the line equation:
Where (x₀, y₀) is any point of the line. Choosing (2, 1) as (x₀, y₀):