You can
put this solution on YOUR website!y=mx+b, the y intercept is 0,2. The x intercept is 2,0.
--------------
You need to find the slope m, and the value of b.
m=[2-0]/[0-2}=2/-2=-1
Use the point (0,2) and the value of m in the equation
to find b as follows:
2=-1(0)+b
b=2
So the equation is y=-x+2
Cheers,
Stan H.