The formula to solve for slope is:
Y2-Y1/X2-X1
—
Details:
X is the left number of the point, Y is the right number of the point. The 1 means the first point, 2 means the second point.
—
Y1= 1
Y2= 2
X1= 4
X2= 6
—
2-1= 1
6-4= 2
Slope= 1/2
—
I hope this helped you! :)