"Practice problem 3 How do you know that the matrix should be rightward (2c) or downward (2f),(2g)"
See this response.