Michael K. answered 04/22/19
PhD professional for Math, Physics, and CS Tutoring and Martial Arts
With two points you can make a line
y = mx +b
The slope (m) can be found as the ratio of the "rise" over the "run" or (y2 - y1) / (x2 - x1).
using point #1 as (0,3) and point #2 as (-2,-1)
m =( -1 - 3)/(-2 - 0 ) = 2
y = 2x + b
Now choose one of the two points and solve for b...
3 = 2(0) +b --> b = 3
y = 2x + 3