Slope is the change of a line. To find this line one can remember it as rise over run. This rise over run is really the change in the y direction over the change in the x direction.
Therefore the formula for slope is as follows.
Plugging in our given points
(x1,y1)=(−1,5) and (x2,y2)=(2,3),