X1 x2 are the coordinates of x-axis and y1 y2 are the coordinates of y-axis. This gives us 10 - 8-2 - 3. Finding the Slope of a Line from Two Points.
The formula to calculate slope is given as mfrac y_ 2-y_ 1 x_ 2-x_ 1 Where m is the slope of the line.
Insert the coordinates xAyA x A y A and xByB x B y B. To find the slope you divide the difference of the y-coordinates of 2 points on a line by the difference of the x-coordinates of those same 2 points. Pick any two coordinates that the line goes through. Plug in these values to the slope formula to find the slope.