There are two linear inequations represented by x - y ≥ 0 and x + y < 5. The lines are being drawn in the figure below a
Look at it this way: complete solution: write formula, plug data, do arithmetic. Final value matches Red. Simple and accurate.
Ref: NCERT Mathematics Class XI and XII