Slope=rise/run or
if you have 2 points in (x,y) form then slope=(yβ-yβ)/(xβ-xβ)
the first point is (xβ,yβ) the second point is (xβ,yβ)
we have the points
(-1,3) and (4,-7)
x1=-1
y1=3
x2=4
y2=-7
subsitute
(3-(-7))/(-1-4)=(3+7)/(-1-4)=10/-5=2/-1=-2
slope=-2/1