These deals where you have to take the increases into the pattern require some observation to see what is going on with your pattern. What is being repeated? and you have to think what the stitch right before the last one would be at the beginning of the rows. At the end you just start another repeat with what you have.
It depends on the type of repeat you have whether or not you can immediately add it in or have to let your extra stitches accumulate a few times to do what needs to be done. Sometimes you keep the extra stitches in st st or whatever until you have enough of them to do a repeat. This is one of the places that puzzle working skills come in handy.
On the working front and back into the double yarn over… Sometimes I have run into a little trouble trying to do what they say, sometimes it seems if you do exactly what they say it doesn’t work out. Then you have to come up with an alternative that will look good and cause you to end up with the number of stitches you need over the row. I think what Sue says is right, but if it doesn’t work, try something a little different. As long as you are consistent and it looks good it won’t hurt anything. Usually. LOL