The slope of the horizontal line is 0, so the y is a constant at 2.
The line is not dashed, so it is more than or equal to since the shading is above the line.
The slope of the line going up is 1 (rise over run). The line is dashed and it is shaded below the line so the sign must be <.
Final answer: D