[tex]============================[/tex]
First, let's use the Slope Formula to find the slope:
[tex]\pmb{\displaystyle\frac{y2-y1}{x2-x1} }[/tex]
[tex]\pmb{\displaystyle\frac{4-1}{3-0} }[/tex]
[tex]\pmb{\displaystyle\frac{3}{3}}[/tex]
Which simplifies to
[tex]\pmb{1}[/tex]
So the slope is 1.
Now, here's a point that the line passes through:
(0, 1)
Write the equation in point-slope form:
[tex]\pmb{y-y1=m(x-x1)}[/tex]
y-1=1(x-0)
================================================
Hope everything is clear; if you need any more clarification/explanation, kindly let me know, and I will comment and/or edit my answer :)