The general form of the linear equation is:
y = mx + c where:
m is the slope and c is the y intercept
We are given that the slope is equal to -2
Therefore, the equation now becomes:
y = -2x + c
To get the value of the c, we will use the given point (0,0) to substitute in the equation and solve for c as follows:
y = -2x + c
0 = -2(0) + c
c = 0
Based on the above calculations, the equation of the line would be:
y = -2x