subtract them to find the rise between two points
Explanation:
Subtract the first Y-axis point of the other one to determine the rise.
The rise is the vertical length among the two points, which is the interval within their y-coordinates. That performs the rise y2 − y1. The run within certain two points is the variation in the x-coordinates, or x2 − x1. For slope matches rise overrun, the slope of the line is y2 − y1 over x2 − x1.
The slope is the distinction among the y-coordinates divided by the contrast between the x-coordinates. For the rise, the vertical difference between the two periods, which will always be zero.