Write the equation of the line in fully simplified slope-intercept form.
The slope is -1 and the y-intercept is (0, 2), so the equation of the line is y = -x + 2.