Slope is rise over run or vertical change over horizontal change or change in y over change in x. (All 3 mean the same)
Since the vertical change from one point to another is 14/4 or 7/2, that is the slope ... ps that’s not a line, it’s a line segment.