The slope of a line is 0, and the y-intercept is 6. What is the equation of the line written in slope-intercept form?