If the square box is of 1 squre unit then line passes through point (0,3) and (2,1).
The formula for equation of line passing through two point is,
[tex]y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]Substitute the values in the equation to obtain the equation of line.
[tex]\begin{gathered} y-3=\frac{1-3}{2-0}(x-0) \\ y-3=-2(x) \\ y=-2x+3 \end{gathered}[/tex]So the equation of line is y=-2x+3.