The calculated equation of the line is y = -3x - 6 and the graph is attached
How to determine the equation of the line and the graph
From the question, we have the following parameters that can be used in our computation:
(-2, 0) and (0, -6).
A linear equation is represented as
y = mx + c
Where
c = y when x = 0
Using the above as a guide, we have the following:
y = mx - 6
Uisng the points, we have
-2m - 6 = 0
Evaluate
m = -3
So, we have
y = -3x - 6
Hence, the equation is y = -3x - 6
and the graph is attached