Slope Formula, Example 20: Finding the slope of a line between two points under the following conditions: A point point on the x-axis and point on the y-axis, zero slope. Students learn how to use the slope formula equation to calculate the slope of the line connecting two points. Each slope formula example walks students through the steps of the solution.