The equation of a line: y = 2x + 5 has a slope of 2 and intercepts the y-axis at the point (0, 5).
The slope indicates that given some point on the line, there is another point located 1 unit to the right and 2 units up. For example, considering the point (0, 5), another point will be (0+1, 5+2) = (1, 7).
Now we have two points of the line, then we have to connect them with a line as follows: