Based on Narrow Flat Cables in Knitting Fresh Brioche* by Nancy Marchant. With different selvedges, and with “extra” stitches to balance the pattern left and right. For best results, end having worked row 14 or 26.
*Affiliate link. Buy the book and I get a couple pennies.
Shown with a cast-on count of 46 stitches.