The slope is the "rise over run" or "change in y-values over the change in x-values."
The change in the y-values is the difference between them:
10 - 4 = 6
Change in y = 6
The change in the x-values is the difference between them:
10 - 5 = 5
Change in x = 5
So, the slope is 6/5 or 1 and 1/5.