If we label the given points to find the slope of the line, we have:
(4, 1 ) ---> x1 = 4, y1 = 1
(-2, 7) ---> x2 = -2, y2 = 7.
Then, using the formula for the slope of a line, we have:
Then, having this value of m, we can apply the formula for the Point-Slope Form of the line:
1. In the case we take the pair as ( 4, 1), the equation is:
2. In the case we take the pair as (-2, 7), we have:
Then, we have two options: