Hi there

I'm a relative newbie to knitting and thought a wonderful way to start would be to knit my dog a jumper.. It looks easy enough I thought.. Well im on the 3rd row and confused already!! Lol. It's a basic 2x2 rib pattern mostly, but on the 3rd line for the pattern it says "(buttonhole row)(RS) *P2, K2, rep from * to last 6 sts, P1, P2tog, yrn/yo twice, P2tog, P1"
However, the confusing bit is can I really fit all those last stitches onto the remaining 6 stitches?! I seem to run out and just cannot work it out at all... I'm sorry if I sound rather stupid, and thank you in advance for any help x