A line passes through the point (-2, 1) and has a slope of 3. Write an equation in slope-intercept form for this line. ​