Write an equation in slope-intercept form for the line that passes through (2,4) and is parallel to the line given by y=7.