Consider the equation of a line given by the formula:
$$y = mx + b$$
where $$m$$ represents the slope and $$b$$ is the y-intercept. A certain line has a slope of $$m = 3$$ and it passes through the point (1, 4). Determine the equation of the line in slope-intercept form.