What is the slope-intercept form equation of the line that passes through (2, 4) and (4, 10)?