The slope of a line is 3 and the y-intercept is -7. What is the equation of the line written in slope-intercept form?

y = 3x + 7
y = -3x -7
y = 3x - 7
y = -3x + 7