\(\displaystyle{m}=\frac{{{\underset{{{2}}}{{{y}}}}-{\underset{{{1}}}{{{y}}}}}}{{{\underset{{{2}}}{{{x}}}}-{\underset{{{1}}}{{{x}}}}}}\)

\(\displaystyle=\frac{{{0}-{2}}}{{{1}-{0}}}\)

\(\displaystyle=\frac{{-{2}}}{{1}}\)

=-2

y=mx+b

y=-2x+2

\(\displaystyle=\frac{{{0}-{2}}}{{{1}-{0}}}\)

\(\displaystyle=\frac{{-{2}}}{{1}}\)

=-2

y=mx+b

y=-2x+2