AMC 10B 2024 (Problem 19)

In the following table, each question mark is to be replaced by "Possible" or "Not Possible" to indicate whether a nonvertical line with the given slope can contain the given number of lattice points (points both of whose coordinates are integers). How many of the 12 entries will be "Possible"?
zeroexactly oneexactly twomore than twozero slope????nonzero rational slope????irrational slope????\begin{array}{l|c|c|c|c} & \text{zero} & \text{exactly one} & \text{exactly two} & \text{more than two} \\\hline \text{zero slope} & ? & ? & ? & ? \\\text{nonzero rational slope} & ? & ? & ? & ? \\\text{irrational slope} & ? & ? & ? & ?\end{array}
(A)  4\text{(A)}\;4(B)  5\text{(B)}\;5(C)  6\text{(C)}\;6(D)  7\text{(D)}\;7(E)  9\text{(E)}\;9