We have two points of this line. When x=0; then y=2. we have the first point (0,2) when x=5; then y=3. We have the second point (5,3)
Given two points (x₁,y₁) and (x₂,y₂) the slope of the line passes through these points will be: m=(y₂-y₁)/(x₂-x₁) or m=(y₁-y₂)/(x₁-x₂) the result will be the same.
In this case; the points will be: (0,2) and (5,3) and the slope of the line will be:
A slope is the change in y along the x. So you take any 2 points along the line and find what the difference is for both the y coordinates and the x coordinates. A(3,5) B(1,-5)