Answer:
C
Explanation:
the slope of a line is the ratio (y coordinate change / x coordinate change) when going from one point on the line to another.
in our case here we are going e.g. from the origin (0, 0) to (2, 4).
so, x changes by +2 (from 0 to 2).
y changes by +4 (from 0 to 4).
therefore, the slope is
+4/+2 = 2
FYI - the direction is not important. it works the same way in the other direction. but what is important : once you pick a direction for one coordinate, you have to use the same direction for the second one. you cannot go e.g. for x in one direction and for y in the other.