for the most part, it's using the slope formula
this is finding the slope at 1 point rather than at 2 points