New crocheter confused about chains

I am making a hat from a pattern. In one line it says "5 ch, *2 dc in following ch-bow, 2 ch*, repeat"
I am very confused about how I would do the 2 chains before repeating. The way I keep doing it I end up with 7 and it runs on together. That doesn't seem to be working.

Remember I am a beginner so please explain it to me in thorough detail.