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,
Substitute the values in the equation to obtain the equation of line.
So the equation of line is y=-2x+3.