
How do you know their are 21 total possible outcomes? I could draw out the picture in a graph and count them but is their a more intuitive way of being able to determine this?

How do you know their are 21 total possible outcomes? I could draw out the picture in a graph and count them but is their a more intuitive way of being able to determine this?
For general linear constraints determining the cardinality of an integer feasible region can be hard. In this case though, simply note that $x$ can take $7$ distinct values and that for each of those values $y \in \{x-1,x,x+1\}$. Thus there are $7\cdot 3=21$ feasible points.