Explanation:
if I understand your text right, we are looking at the line going through the points (0, 2) and (5, 3).
the slope is in a line equation always the factor of x.
anyway, it is expressed as ratio y/x indicating how many units y changes, when x changes a certain amount of units when going from one point on the line to another.
so, we are simply going from (0, 2) to (5, 3).
x changes by +5 (from 0 to 5).
y changes by +1 (from 2 to 3).
so, the slope is y/x = 1/5.