With matrices it is useful to see per row and per column whether you can recognize a pattern. In this example, a pattern can be found per row. By adding a grid with numbers, it is easier to recognize what the pattern is:
The triangle moves up two steps and starts again at 1 when the end (9) is reached. The answer is C.