You've got five different problems in this photo ... four on top and the word problem on the bottom ... and they're all exactly the same thing: Taking two points and finding the slope of the line that goes through them.
In every case, the procedure is the same. If the two points are (x₁ , y₁) and (x₂ , y₂) , then the slope of the line that goes through them is