(K1 P1 K1) in same stitch...how to do?

How do you do K1 P1 K1 in the same stitch? I don’t see this in the tutorials. It’s part of the leg on a sock pattern. Thank you.

Here’s a tutorial that may help: