Answer:
[tex]y=-2x+2[/tex]
Step-by-step explanation:
1) Let a=1, b=2. Therefore we have two pair of points (1,0) and (0,2) since a must be on x-axis and b on y axis.
Equation of the line: [tex]y=mx+b[/tex]
[tex]m=\frac{0-2}{1-0}\Rightarrow m=-2[/tex]
2) Since 2 is the point on the y-axis, then b=2 we can say that
[tex]y=-2x+2[/tex]