Answer:
y=x+2
Explanation:
To find the equation of a line or linear function, you need at least two points that lie on the line. This is to find the slope or gradient of the line if it's not given. Let's use the two points (0,2) and (-2,0). The first coordinate in each point is X and the second is the y coordinate.
GRADIENT/SLOPE=[y1-y2]/[x1-x2]
=[2-0]/[0-2]=1
The equation of a linear function is given. by Y-y1=m(X-x1)
Y-2=1(X-0)
Y=X+2
VERIFICATION OF SOLUTION
You may want to verify whether you are right by substituting values of x to see if you can obtain corresponding y values.
Example: if x=0, y=0+2=2.This confirms first point