Answer :

[tex]\text{slope}=-\frac{1}{2}[/tex]

Explanation

if you know 2 points of a line you can easily find the slope using

[tex]\begin{gathered} \text{slope}=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1} \\ \text{where} \\ P1(x_1,y_1) \\ P2(x_2,y_2) \end{gathered}[/tex]

Let

P1(-1,5)

P2(7,1)

replace,

[tex]\begin{gathered} \text{slope}=\frac{\Delta y}{\Delta x}=\frac{y_2-y_1}{x_2-x_1} \\ \text{slope}=\frac{1-5}{7-(-1)} \\ \text{slope}=\frac{-4}{7+1}=-\frac{4}{8}=-\frac{1}{2} \\ \text{slope}=-\frac{1}{2} \end{gathered}[/tex]

I hope this helps you