Hey there!
To solve this, we can use the slope given two points formula:
y2-y1/x2-x1
This formula calculates the slope of the line created by two given points. Let's plug in (0,1) and (1,3):
3-1/1-0 = 2/1 = 2
Therefore, the slope is 2.
For the next pair (1,2) and (2,4):
4-2/2-1 = 2/1 = 2
Thus, both slopes are 2.
Hope this helps!