find the slope with the formula
[tex]m=\frac{y2-y1}{x2-x1}[/tex]replace with the points given
[tex]m=\frac{-1-(3)}{2-0}=\frac{-4}{2}=-2[/tex]replace one of the points in the equation in the form }
[tex]\begin{gathered} y=mx+b\text{ } \\ y=-2x+b \\ 3=(-2)\cdot(0)+b \\ 3=b \end{gathered}[/tex]write the full equation
[tex]y=-2x+3[/tex]