For row 2 and row 4 the internal repeat is between the asterisks, p1, sl 1 wyif. Repeat this sequence 8 times.
So p1, sl 1 wyif, ---- p1, sl 1 wyif, ----- p1, sl 1 wyif etc.
Can you give us a link to the scarf pattern?
And there is the link