I am stuck on a pattern. How do i do a C2F

Usually that would mean slip one stitch onto a cable needle, hold it in front of the work, knit the next stitch and then knit the stitch from the cable needle.

Or you can go behind the first stitch to knit the 2nd stitch, then, without slipping that stitch off, knit the first stitch. slip both off.