If you know the the slope and y-intercept of a line you can write its equation in slope-intercept form, which is written like this:
where is the slope and is the y-intercept
In this case, since the slope is 3 and the y-int. is 1, our equation must be
[tex]\boxed{y=3x+1}[/tex]