No, the friend is not correct.
The equation of a line is a single b of numerous points on the line. The general form of the equation of a line is of the form ax + by + c = 0 and any point on the line satisfies this equation.
slope= 2/4= 1/2
Now,
y-(-2)= 1/2(x-0)
y+2= 1/2x
y= 1/2x - 2
Hence, the equation is incorrect.
Learn more about equation of line here:
https://brainly.com/question/14397490
#SPJ1