The line intersects the parabola at x = 2 and x = 4. To find the equation of the line, we need to determine the y-intercept. We can substitute the x-coordinate of one of the intersection points into the equation of the parabola to find the corresponding y-coordinate. When x = 2, the equation of the parabola gives y = 2 + 2 = 4. Therefore, the y-intercept is 4. Since the line intersects the y-axis at (0, 2), the slope of the line is 1. Using the slope-intercept form of a line, y = mx + b, where m is the slope and b is the y-intercept, we have y = x + 2. Hence, the equation of the line is y = x + 2.