To see the pattern it's best to work in two colours - colour A for rows 1 & 2, and colour B for rows 3 & 4
Shown with a cast-on count of 9 stitches.
1 2 3 4 5 Horizontal repeats
1 2 3 4 5 Vertical repeats