When you yarn over you’re bringing the yarn to the front between the needles then over the right needle to the back. Keep holding the yarn to the back as you slip the next stitch from left to right needle. Knit the following stitch and then pass slipped stitch over that knit stitch.
Slipping purlwise is just touching needle tips and letting stitch pass from left to right needle.