You need only two points to graph a linear function. ...
Determine the x intercept, set f(x) = 0 and solve for x. ...
Determine the y intercept, set x = 0 to find f(0). ...
The graph of the above function is a line passing through the points (-2 , 0) and (0 , 4) as shown below.