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:
![m=(y_2-y_1)/(x_2-x_1)=(7-1)/(-2-4)=(6)/(-6)\Rightarrow m=-1](https://img.qammunity.org/2023/formulas/mathematics/college/lt9f3fhr5wmnh3dqowp75ip4swog4qr1qf.png)
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:
![y-y_1=m(x-x_1)=y-1=-1(x-4)=y-1=-(x-4)](https://img.qammunity.org/2023/formulas/mathematics/college/186xxg5ioai9mnao70clf3k4ggaql20rjm.png)
2. In the case we take the pair as (-2, 7), we have:
![y-7=-1(x-(-2)=y-7=-(x+2)](https://img.qammunity.org/2023/formulas/mathematics/college/g212jrz3nn795kci1itznf4cojjh3snjcu.png)
Then, we have two options:
![y-1=-(x-4)](https://img.qammunity.org/2023/formulas/mathematics/college/ydrr45ez7kaps61d0ycyka4ljc3a61txr0.png)
![y-7=-(x+2)](https://img.qammunity.org/2023/formulas/mathematics/college/kww8dwt4y1vj3rnygx66ibk13tj8ogtd8u.png)