Determine the slope of line passing through points (-2,1) and (0,5).

Slope is 2.
The y-intercept is y-coordinate of point at which line intersects the y-axis. So line intersects the y axis at (0,5). The y-intercept is 5.
The general equation of line with slope m and y-intercet b is,

Substitute the values in the equation to determine the equation of line.

So equation is y = 2x +5.