This is assuming you're doing it using patterns.
Another way to do it is to make 3 layers of 1 px scanlines and shifting 2 of them to form 2 px scanlines. This method isn't very good and requires way more work than what's actually needed to achieve the same effect.