When to move yarn

My pattern reads
p2, sl 1, k1, yo,k1, pass slipped st over last 3 sts

My questions is: after the p2 my yarn is in front, do I move it to the
back for the k1 before or after I do the sl 1

Thank you in advance for your help

It depends on what you want the stiches to look like. If you want to make it look like a purl stich you would keep it in the front, but if you want it to look like a knit stich (which I suggest) you would put the yarn in the back.