It ask write the equation of the line with slope -2 and y-intercept (0,0).

so the equation would be :
y=-2x

Correct!

That's correct! The equation of a line in slope-intercept form is given by y = mx + b, where m represents the slope of the line and b represents the y-intercept (the point where the line crosses the y-axis). In this case, the slope is -2 and the y-intercept is (0, 0), which means the line goes through the origin. Plugging these values into the equation, we get y = -2x as the equation of the line.